Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.001682/0.001682, allocations: 83.73 kB / 20.52 MB, free: 1.121 MB / 14.72 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.002015/0.002015, allocations: 162.5 kB / 23.76 MB, free: 4.199 MB / 14.72 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.562/1.562, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.1 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.2205/0.2205, allocations: 32.38 MB / 270.1 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 179] 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 71.89 kB / 407.8 MB, free: 5.488 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1457, allocations: 61.05 MB / 468.9 MB, free: 8.254 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003352/0.149, allocations: 1.676 MB / 470.5 MB, free: 6.562 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1504, allocations: 0.7688 MB / 471.3 MB, free: 5.785 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.1505, allocations: 4 kB / 471.3 MB, free: 5.781 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.1508, allocations: 51.7 kB / 471.4 MB, free: 5.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.1511, allocations: 47.77 kB / 471.4 MB, free: 5.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.1513, allocations: 91.69 kB / 471.5 MB, free: 5.594 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1515, allocations: 95.75 kB / 471.6 MB, free: 5.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.1516, allocations: 8.234 kB / 471.6 MB, free: 5.492 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.953e-05/0.1517, allocations: 43.78 kB / 471.6 MB, free: 5.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.127e-05/0.1518, allocations: 31.84 kB / 471.7 MB, free: 5.418 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.1518, allocations: 7.938 kB / 471.7 MB, free: 5.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.892e-05/0.1519, allocations: 47.92 kB / 471.7 MB, free: 5.363 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.152, allocations: 23.86 kB / 471.7 MB, free: 5.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.152, allocations: 27.8 kB / 471.8 MB, free: 5.312 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1522, allocations: 111.5 kB / 471.9 MB, free: 5.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1522, allocations: 0 / 471.9 MB, free: 5.203 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.05e-06/0.1522, allocations: 4 kB / 471.9 MB, free: 5.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1523, allocations: 4 kB / 471.9 MB, free: 5.195 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005976/0.1529, allocations: 337.6 kB / 472.2 MB, free: 4.836 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1529, allocations: 12.03 kB / 472.2 MB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.1529, allocations: 8.891 kB / 472.2 MB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.1532, allocations: 162.9 kB / 472.4 MB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1532, allocations: 4.359 kB / 472.4 MB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.1533, allocations: 8.125 kB / 472.4 MB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1534, allocations: 53.67 kB / 472.5 MB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1534, allocations: 0 / 472.5 MB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1534, allocations: 4 kB / 472.5 MB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1534, allocations: 0 / 472.5 MB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.296e-05/0.1535, allocations: 23.97 kB / 472.5 MB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.1539, allocations: 228.6 kB / 472.7 MB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.154, allocations: 62.61 kB / 472.8 MB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.1541, allocations: 20.84 kB / 472.8 MB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1541, allocations: 0 / 472.8 MB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.1543, allocations: 71.33 kB / 472.9 MB, free: 4.105 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1543, allocations: 0 / 472.9 MB, free: 4.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005914/0.1549, allocations: 193.3 kB / 473.1 MB, free: 3.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.1549, allocations: 51.41 kB / 473.1 MB, free: 3.848 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.1552, allocations: 199.3 kB / 473.3 MB, free: 3.645 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.1552, allocations: 33.7 kB / 473.3 MB, free: 3.605 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.1553, allocations: 96.14 kB / 473.4 MB, free: 3.508 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.1553, allocations: 23.84 kB / 473.4 MB, free: 3.484 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.1554, allocations: 29.66 kB / 473.5 MB, free: 3.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.1556, allocations: 326.8 kB / 473.8 MB, free: 3.121 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.125e-05/0.1556, allocations: 19.98 kB / 473.8 MB, free: 3.102 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.257e-05/0.1557, allocations: 41.7 kB / 473.9 MB, free: 3.055 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1558, allocations: 61.77 kB / 473.9 MB, free: 2.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1558, allocations: 0 / 473.9 MB, free: 2.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002136/0.156, allocations: 109.7 kB / 474 MB, free: 2.875 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1561, allocations: 4 kB / 474 MB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1561, allocations: 3.938 kB / 474 MB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1561, allocations: 4 kB / 474 MB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1562, allocations: 15.98 kB / 474.1 MB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1562, allocations: 3.938 kB / 474.1 MB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.1563, allocations: 15.97 kB / 474.1 MB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1563, allocations: 384 / 474.1 MB, free: 2.828 MB / 446.1 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 (10): * Single equations (assignments): 10 * 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 0.0001333/0.1564, allocations: 129.8 kB / 474.2 MB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.1564, allocations: 11.91 kB / 474.2 MB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.1567, allocations: 127.1 kB / 474.3 MB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1567, allocations: 0 / 474.3 MB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1567, allocations: 4 kB / 474.3 MB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1567, allocations: 0 / 474.3 MB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004769/0.1572, allocations: 346.9 kB / 474.7 MB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1572, allocations: 8.031 kB / 474.7 MB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/0.1572, allocations: 8 kB / 474.7 MB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1572, allocations: 0 / 474.7 MB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1573, allocations: 4 kB / 474.7 MB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1573, allocations: 0 / 474.7 MB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1573, allocations: 3.938 kB / 474.7 MB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.1575, allocations: 220.2 kB / 474.9 MB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.1576, allocations: 15.89 kB / 474.9 MB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1576, allocations: 0 / 474.9 MB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.1577, allocations: 4 kB / 474.9 MB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.1577, allocations: 15.92 kB / 475 MB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.1577, allocations: 4 kB / 475 MB, free: 1.875 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.1579, allocations: 164.8 kB / 475.1 MB, free: 1.715 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1579, allocations: 0 / 475.1 MB, free: 1.715 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1581, allocations: 23.98 kB / 475.1 MB, free: 1.691 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001834/0.16, allocations: 0.4926 MB / 475.6 MB, free: 1.207 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.1602, allocations: 59.91 kB / 475.7 MB, free: 1.148 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1602, allocations: 0 / 475.7 MB, free: 1.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.569e-05/0.1603, allocations: 27.98 kB / 475.7 MB, free: 1.121 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1606, allocations: 23.98 kB / 475.7 MB, free: 1.098 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.1611, allocations: 246.6 kB / 476 MB, free: 0.8281 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.1612, allocations: 96.44 kB / 476.1 MB, free: 0.7148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.749e-05/0.1613, allocations: 16.42 kB / 476.1 MB, free: 0.6953 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.1613, allocations: 16.5 kB / 476.1 MB, free: 0.6797 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1613, allocations: 0 / 476.1 MB, free: 0.6797 MB / 446.1 MB Notification: Performance of Templates: time 0.3435/0.5048, allocations: 1.799 MB / 477.9 MB, free: 50.05 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.557834715000354]