Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.001161/0.001161, allocations: 81.08 kB / 20.65 MB, free: 3.844 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.00139/0.00139, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.038/1.038, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1372/0.1372, allocations: 32.38 MB / 270.7 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.597e-05, allocations: 5.406 kB / 348.2 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002121/0.002147, allocations: 1.679 MB / 349.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000899/0.003046, allocations: 0.7765 MB / 350.7 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.121e-05/0.003127, allocations: 0 / 350.7 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.003426, allocations: 67.66 kB / 350.7 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.003622, allocations: 67.67 kB / 350.8 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.003806, allocations: 79.72 kB / 350.9 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.003949, allocations: 103.7 kB / 351 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.003991, allocations: 11.94 kB / 351 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.805e-05/0.004069, allocations: 55.81 kB / 351 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.004144, allocations: 35.91 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.004162, allocations: 4 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-05/0.004229, allocations: 31.97 kB / 351.1 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.004268, allocations: 23.92 kB / 351.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.004301, allocations: 15.94 kB / 351.1 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.004432, allocations: 91.59 kB / 351.2 MB, free: 6.031 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004434, allocations: 0 / 351.2 MB, free: 6.031 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004435, allocations: 3.938 kB / 351.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.00444, allocations: 4 kB / 351.2 MB, free: 6.023 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.0003493/0.004789, allocations: 428 kB / 351.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.00483, allocations: 12.02 kB / 351.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.004867, allocations: 8.891 kB / 351.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.004991, allocations: 144.4 kB / 351.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.005009, allocations: 8.359 kB / 351.8 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.005017, allocations: 4.375 kB / 351.8 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.005121, allocations: 50.95 kB / 351.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.005129, allocations: 3.938 kB / 351.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.005136, allocations: 3.984 kB / 351.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.005143, allocations: 7.984 kB / 351.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.005164, allocations: 7.938 kB / 351.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.005273, allocations: 109.2 kB / 352 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.622e-05/0.005349, allocations: 47.14 kB / 352.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.005369, allocations: 15.69 kB / 352.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.005385, allocations: 4 kB / 352.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.095e-05/0.005466, allocations: 68.92 kB / 352.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.005467, allocations: 0 / 352.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001521/0.005619, allocations: 89.56 kB / 352.2 MB, free: 4.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/0.005637, allocations: 55.41 kB / 352.3 MB, free: 4.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.074e-05/0.005708, allocations: 216 kB / 352.5 MB, free: 4.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.005716, allocations: 29.64 kB / 352.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/0.005749, allocations: 150.8 kB / 352.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.005774, allocations: 11.91 kB / 352.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.005803, allocations: 31.34 kB / 352.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.005847, allocations: 0.4962 MB / 353.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.005862, allocations: 4 kB / 353.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.011e-05/0.005882, allocations: 31.3 kB / 353.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.521e-05/0.005917, allocations: 39.36 kB / 353.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005919, allocations: 0 / 353.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.889e-05/0.005988, allocations: 65.58 kB / 353.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.005998, allocations: 8 kB / 353.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.006003, allocations: 0 / 353.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.006015, allocations: 3.938 kB / 353.4 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.704e-05/0.006072, allocations: 8 kB / 353.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.006075, allocations: 0 / 353.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/0.006105, allocations: 7.984 kB / 353.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.00611, allocations: 8.031 kB / 353.4 MB, free: 3.664 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 4.908e-05/0.006159, allocations: 156.6 kB / 353.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.006173, allocations: 19.84 kB / 353.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.596e-05/0.006269, allocations: 82.08 kB / 353.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.006272, allocations: 3.938 kB / 353.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.006274, allocations: 0 / 353.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.006277, allocations: 0 / 353.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.224e-05/0.006339, allocations: 121.2 kB / 353.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.006341, allocations: 384 / 353.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.006359, allocations: 4 kB / 353.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.006361, allocations: 8 kB / 353.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.006367, allocations: 4 kB / 353.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.006368, allocations: 0 / 353.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006369, allocations: 0 / 353.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.827e-05/0.006437, allocations: 120.2 kB / 353.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.00645, allocations: 7.953 kB / 353.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.006463, allocations: 0 / 353.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.067e-05/0.006484, allocations: 4 kB / 353.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.006507, allocations: 7.984 kB / 353.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.006519, allocations: 7.938 kB / 353.9 MB, free: 3.062 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.721e-05/0.006556, allocations: 160 kB / 354.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006556, allocations: 4 kB / 354.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.0067, allocations: 16 kB / 354.1 MB, free: 2.887 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.0009662/0.007666, allocations: 390.4 kB / 354.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.007793, allocations: 43.59 kB / 354.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.007796, allocations: 0 / 354.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.007828, allocations: 19.69 kB / 354.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.008068, allocations: 33.16 kB / 354.6 MB, free: 2.496 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.008386, allocations: 181.4 kB / 354.8 MB, free: 2.293 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.943e-05/0.008416, allocations: 71.22 kB / 354.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.851e-05/0.008454, allocations: 8.5 kB / 354.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.00852, allocations: 90.25 kB / 354.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.008521, allocations: 0 / 354.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of Templates: time 0.003923/0.01244, allocations: 1.766 MB / 356.7 MB, free: 364 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.2552361018024385]