Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.002089/0.002089, allocations: 87.67 kB / 20.21 MB, free: 4.215 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.00224/0.00224, allocations: 169.2 kB / 23.53 MB, free: 0.8984 MB / 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.441/1.441, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.2136/0.2136, allocations: 32.37 MB / 270 MB, free: 14.77 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.293e-05, allocations: 2.312 kB / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002756/0.002789, allocations: 1.927 MB / 348.9 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.00411, allocations: 0.9478 MB / 349.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.581e-05/0.004195, allocations: 8 kB / 349.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006232/0.004819, allocations: 207.3 kB / 350.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.00511, allocations: 159.3 kB / 350.3 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.005487, allocations: 199.5 kB / 350.4 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.0057, allocations: 255.2 kB / 350.7 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.99e-05/0.00579, allocations: 17.75 kB / 350.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.00595, allocations: 131.6 kB / 350.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.006075, allocations: 111.7 kB / 350.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.006104, allocations: 8 kB / 351 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.006226, allocations: 55.95 kB / 351 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.292e-05/0.006309, allocations: 55.78 kB / 351.1 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.00637, allocations: 47.84 kB / 351.1 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.006625, allocations: 235.1 kB / 351.3 MB, free: 5.379 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.006629, allocations: 4 kB / 351.3 MB, free: 5.375 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.00663, allocations: 0 / 351.3 MB, free: 5.375 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.006635, allocations: 0 / 351.3 MB, free: 5.375 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007215/0.007356, allocations: 0.5786 MB / 351.9 MB, free: 4.754 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.007399, allocations: 8.031 kB / 351.9 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.064e-05/0.00748, allocations: 32.75 kB / 352 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.007769, allocations: 231.5 kB / 352.2 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.007786, allocations: 4.312 kB / 352.2 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.007802, allocations: 8.375 kB / 352.2 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.007988, allocations: 105.5 kB / 352.3 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.008004, allocations: 3.938 kB / 352.3 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.008018, allocations: 0 / 352.3 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.008025, allocations: 4 kB / 352.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.008137, allocations: 39.91 kB / 352.4 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.008582, allocations: 387.4 kB / 352.7 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.008819, allocations: 126.2 kB / 352.9 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.799e-05/0.008897, allocations: 43.36 kB / 352.9 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.008917, allocations: 8 kB / 352.9 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.009102, allocations: 124.3 kB / 353 MB, free: 3.516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.123e-06/0.009103, allocations: 0 / 353 MB, free: 3.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004105/0.009513, allocations: 173.4 kB / 353.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.009539, allocations: 81.11 kB / 353.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.0098, allocations: 374.3 kB / 353.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.009814, allocations: 33.7 kB / 353.7 MB, free: 2.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.009891, allocations: 198.8 kB / 353.9 MB, free: 2.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.009922, allocations: 39.84 kB / 353.9 MB, free: 2.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.009969, allocations: 39.38 kB / 353.9 MB, free: 2.535 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.01005, allocations: 0.5235 MB / 354.5 MB, free: 2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.766e-05/0.01013, allocations: 31.92 kB / 354.5 MB, free: 1.969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.75e-05/0.01022, allocations: 109.1 kB / 354.6 MB, free: 1.836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.01035, allocations: 103.2 kB / 354.7 MB, free: 1.719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01036, allocations: 3.938 kB / 354.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002087/0.01056, allocations: 149.4 kB / 354.9 MB, free: 1.562 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01058, allocations: 8 kB / 354.9 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01058, allocations: 4.094 kB / 354.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.0106, allocations: 0 / 354.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.01071, allocations: 23.98 kB / 354.9 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01071, allocations: 0 / 354.9 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.541e-05/0.01079, allocations: 11.94 kB / 354.9 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.0108, allocations: 7.984 kB / 354.9 MB, free: 1.508 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.663e-05/0.01087, allocations: 180.5 kB / 355.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.01091, allocations: 27.81 kB / 355.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.0112, allocations: 163.4 kB / 355.3 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.0112, allocations: 7.984 kB / 355.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.0112, allocations: 4 kB / 355.3 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01121, allocations: 0 / 355.3 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.01136, allocations: 220.5 kB / 355.5 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01136, allocations: 3.938 kB / 355.5 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.01141, allocations: 12 kB / 355.5 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01141, allocations: 0 / 355.5 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.01142, allocations: 4 kB / 355.5 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01142, allocations: 8.172 kB / 355.5 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01142, allocations: 0 / 355.5 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.01167, allocations: 211.9 kB / 355.7 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.0117, allocations: 23.8 kB / 355.8 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.01174, allocations: 7.984 kB / 355.8 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.698e-05/0.01181, allocations: 8 kB / 355.8 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.01186, allocations: 7.984 kB / 355.8 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.01188, allocations: 15.98 kB / 355.8 MB, free: 0.543 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.01206, allocations: 251 kB / 356 MB, free: 308 kB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01206, allocations: 0 / 356 MB, free: 308 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.01231, allocations: 35.94 kB / 356.1 MB, free: 272 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002862/0.01518, allocations: 459.2 kB / 356.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.0155, allocations: 99.53 kB / 356.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.0155, allocations: 0 / 356.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.01565, allocations: 59.66 kB / 356.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.01611, allocations: 68.81 kB / 356.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008063/0.01691, allocations: 365.4 kB / 357.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.01707, allocations: 132.3 kB / 357.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.168e-05/0.01716, allocations: 26.09 kB / 357.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.517e-05/0.01724, allocations: 28.48 kB / 357.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01724, allocations: 0 / 357.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of Templates: time 0.008705/0.02594, allocations: 3.171 MB / 360.5 MB, free: 11.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.153720892034471]