Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.002662/0.002662, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001467/0.001467, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9489/0.9489, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3081/0.3081, allocations: 34.26 MB / 296.1 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.848e-05, allocations: 3.812 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.001997/0.002016, allocations: 1.723 MB / 327.1 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.003119, allocations: 0.9904 MB / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.003177, allocations: 4 kB / 328 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.003438, allocations: 55.69 kB / 328.1 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.003685, allocations: 107.5 kB / 328.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.003811, allocations: 67.69 kB / 328.3 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.003943, allocations: 111.6 kB / 328.4 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.496e-05/0.003978, allocations: 240 / 328.4 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.276e-05/0.004061, allocations: 63.81 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.004136, allocations: 31.91 kB / 328.5 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.004149, allocations: 4 kB / 328.5 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.717e-05/0.004216, allocations: 39.84 kB / 328.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.004257, allocations: 19.94 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.004286, allocations: 24.42 kB / 328.6 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.004414, allocations: 83.72 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004416, allocations: 0 / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004417, allocations: 0 / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.00442, allocations: 0 / 328.6 MB, free: 4.32 MB / 298.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.0003694/0.004789, allocations: 305.6 kB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.649e-05/0.004816, allocations: 12.03 kB / 329 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.004842, allocations: 8.922 kB / 329 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.004978, allocations: 138.3 kB / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.004993, allocations: 8.312 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.005004, allocations: 4.375 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.61e-05/0.00509, allocations: 57.77 kB / 329.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005098, allocations: 7.938 kB / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.005105, allocations: 4 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.00511, allocations: 0 / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.458e-05/0.005135, allocations: 7.984 kB / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.615e-05/0.005211, allocations: 70.64 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.396e-05/0.005285, allocations: 41.41 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.005305, allocations: 16.8 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.005314, allocations: 8 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.053e-05/0.005384, allocations: 54.22 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 6.91e-07/0.005385, allocations: 0 / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 9.894e-05/0.005484, allocations: 61.67 kB / 329.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.005513, allocations: 59.28 kB / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.005598, allocations: 166.1 kB / 329.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.005609, allocations: 29.7 kB / 329.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/0.005635, allocations: 96.09 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.005658, allocations: 11.91 kB / 329.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.005682, allocations: 21.7 kB / 329.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.005752, allocations: 330.8 kB / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.005763, allocations: 6.828 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.00578, allocations: 17.72 kB / 330.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/0.005817, allocations: 35.34 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005819, allocations: 0 / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.558e-05/0.005874, allocations: 64.44 kB / 330.3 MB, free: 2.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.005886, allocations: 4 kB / 330.3 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.005891, allocations: 4 kB / 330.3 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.005904, allocations: 7.969 kB / 330.3 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.952e-05/0.005953, allocations: 11.94 kB / 330.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.005958, allocations: 3.938 kB / 330.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.005984, allocations: 7.984 kB / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.005988, allocations: 0 / 330.3 MB, free: 2.492 MB / 298.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 6.745e-05/0.006055, allocations: 116.7 kB / 330.4 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.006069, allocations: 4.312 kB / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.442e-05/0.006153, allocations: 62.83 kB / 330.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.006156, allocations: 4 kB / 330.5 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.006158, allocations: 3.938 kB / 330.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.006163, allocations: 7.984 kB / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.87e-05/0.006231, allocations: 85.77 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.006232, allocations: 0 / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.006246, allocations: 11.94 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.006247, allocations: 0 / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.006252, allocations: 4 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.006253, allocations: 0 / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.006254, allocations: 0 / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.822e-05/0.006312, allocations: 86.69 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.006323, allocations: 11.95 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.006336, allocations: 4 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.659e-05/0.006352, allocations: 11.98 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.006372, allocations: 0 / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.00638, allocations: 4 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.976e-05/0.00642, allocations: 52.28 kB / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00642, allocations: 0 / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001059/0.006526, allocations: 12 kB / 330.8 MB, free: 1.961 MB / 298.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.0009908/0.007516, allocations: 0.5087 MB / 331.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.275e-05/0.007579, allocations: 24.86 kB / 331.3 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.007581, allocations: 4.062 kB / 331.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.007606, allocations: 28.72 kB / 331.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.007713, allocations: 30.17 kB / 331.4 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.007962, allocations: 195.3 kB / 331.5 MB, free: 1.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.935e-05/0.007991, allocations: 63.34 kB / 331.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.645e-05/0.008018, allocations: 16.47 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.008073, allocations: 67.36 kB / 331.7 MB, free: 1.242 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.008074, allocations: 0 / 331.7 MB, free: 1.242 MB / 298.7 MB Notification: Performance of Templates: time 0.002966/0.01104, allocations: 1.766 MB / 333.5 MB, free: 15.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.1651818342506886]