Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001388/0.002418, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009054/0.0009054, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.002083, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.015/1.015, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1084/1.123, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.311/0.311, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02462/0.3356, allocations: 12.52 MB / 289.3 MB, free: 8.68 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.715e-05, allocations: 3.188 kB / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002535/0.002552, allocations: 1.758 MB / 292.4 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.003909, allocations: 1.006 MB / 293.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-05/0.004001, allocations: 2.438 kB / 293.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.004257, allocations: 61.41 kB / 293.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.004564, allocations: 114.4 kB / 293.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.004777, allocations: 67.69 kB / 293.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.004959, allocations: 115.6 kB / 293.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.005006, allocations: 8.219 kB / 293.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.005148, allocations: 87.8 kB / 293.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.005249, allocations: 39.84 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.005266, allocations: 4 kB / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.005351, allocations: 31.98 kB / 294 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.005396, allocations: 11.94 kB / 294 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.005437, allocations: 15.94 kB / 294 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.005608, allocations: 95.59 kB / 294.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-05/0.005625, allocations: 0 / 294.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.005626, allocations: 0 / 294.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.005646, allocations: 0 / 294.1 MB, free: 4.809 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005627/0.006209, allocations: 320.7 kB / 294.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.006252, allocations: 12.03 kB / 294.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.006292, allocations: 8.922 kB / 294.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.006491, allocations: 150.2 kB / 294.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.006511, allocations: 384 / 294.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.006522, allocations: 384 / 294.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.006666, allocations: 61.7 kB / 294.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.006676, allocations: 3.938 kB / 294.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.006685, allocations: 0 / 294.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.006693, allocations: 4 kB / 294.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.509e-05/0.006728, allocations: 11.97 kB / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.006866, allocations: 78.62 kB / 294.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.006978, allocations: 33.44 kB / 294.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.007004, allocations: 16.84 kB / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.007019, allocations: 0 / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.007157, allocations: 66.16 kB / 294.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.007159, allocations: 0 / 294.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001743/0.007333, allocations: 49.69 kB / 294.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.007393, allocations: 59.34 kB / 295 MB, free: 3.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.007543, allocations: 185.5 kB / 295.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.007565, allocations: 29.7 kB / 295.2 MB, free: 3.602 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.007608, allocations: 96.06 kB / 295.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.007656, allocations: 15.89 kB / 295.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.007698, allocations: 21.7 kB / 295.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.007823, allocations: 322.8 kB / 295.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.007842, allocations: 6.828 kB / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.007871, allocations: 25.69 kB / 295.6 MB, free: 3.098 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.628e-05/0.007917, allocations: 35.61 kB / 295.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.00792, allocations: 0 / 295.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.356e-05/0.008004, allocations: 64.45 kB / 295.7 MB, free: 2.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.008021, allocations: 5.719 kB / 295.7 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.008027, allocations: 0 / 295.7 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.008041, allocations: 3.984 kB / 295.7 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.008122, allocations: 15.94 kB / 295.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.008128, allocations: 0 / 295.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.00816, allocations: 4 kB / 295.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.008166, allocations: 0 / 295.8 MB, free: 2.957 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.063e-05/0.008257, allocations: 125.9 kB / 295.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.008273, allocations: 11.97 kB / 295.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.008383, allocations: 62.83 kB / 296 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008385, allocations: 0 / 296 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.00839, allocations: 3.938 kB / 296 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.008394, allocations: 0 / 296 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.914e-05/0.008483, allocations: 89.84 kB / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008485, allocations: 0 / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.008505, allocations: 8 kB / 296.1 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.008523, allocations: 15.84 kB / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.008525, allocations: 0 / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.008531, allocations: 0 / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.008533, allocations: 7.938 kB / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.008538, allocations: 3.938 kB / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.252e-05/0.00862, allocations: 82.77 kB / 296.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.008638, allocations: 4.188 kB / 296.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.291e-05/0.008661, allocations: 7.984 kB / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.008694, allocations: 4 kB / 296.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.008706, allocations: 0 / 296.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.985e-05/0.008755, allocations: 55.58 kB / 296.2 MB, free: 2.426 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008756, allocations: 0 / 296.2 MB, free: 2.426 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001327/0.008888, allocations: 16 kB / 296.3 MB, free: 2.41 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/0.0103, allocations: 0.5538 MB / 296.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.841e-05/0.0104, allocations: 32.8 kB / 296.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.01041, allocations: 4 kB / 296.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/0.01044, allocations: 24.83 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.01058, allocations: 31.09 kB / 296.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.01103, allocations: 198.7 kB / 297.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.01107, allocations: 71.39 kB / 297.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.216e-05/0.0111, allocations: 8.5 kB / 297.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.01116, allocations: 71.3 kB / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01116, allocations: 0 / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of Templates: time 0.003455/0.01461, allocations: 1.802 MB / 299 MB, free: 15.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1148270089179277]