Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.001363/0.001363, allocations: 79.27 kB / 20.52 MB, free: 1.281 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.001426/0.001426, allocations: 164.1 kB / 23.76 MB, free: 4.465 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.456/1.456, allocations: 158.6 MB / 185.5 MB, free: 6.219 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.2085/0.2085, allocations: 32.39 MB / 270.1 MB, free: 2.699 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") [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.002287/0.002287, allocations: 67.91 kB / 407.8 MB, free: 5.484 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1469, allocations: 61.04 MB / 468.9 MB, free: 8.246 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003597/0.1505, allocations: 1.692 MB / 470.5 MB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.152, allocations: 0.7726 MB / 471.3 MB, free: 5.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.152, allocations: 3.938 kB / 471.3 MB, free: 5.758 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.1524, allocations: 103.7 kB / 471.4 MB, free: 5.656 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.1526, allocations: 91.64 kB / 471.5 MB, free: 5.566 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1529, allocations: 83.77 kB / 471.6 MB, free: 5.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.1531, allocations: 111.7 kB / 471.7 MB, free: 5.375 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1532, allocations: 16.2 kB / 471.7 MB, free: 5.359 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.669e-05/0.1533, allocations: 55.78 kB / 471.8 MB, free: 5.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1534, allocations: 75.72 kB / 471.8 MB, free: 5.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.1535, allocations: 4 kB / 471.8 MB, free: 5.227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-05/0.1536, allocations: 43.94 kB / 471.9 MB, free: 5.184 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.1536, allocations: 35.83 kB / 471.9 MB, free: 5.148 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.1537, allocations: 31.75 kB / 472 MB, free: 5.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.1539, allocations: 131.4 kB / 472.1 MB, free: 4.988 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.1539, allocations: 4 kB / 472.1 MB, free: 4.984 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.718e-06/0.1539, allocations: 3.984 kB / 472.1 MB, free: 4.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.154, allocations: 0 / 472.1 MB, free: 4.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006661/0.1546, allocations: 365.3 kB / 472.4 MB, free: 4.594 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1547, allocations: 12.03 kB / 472.5 MB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.1547, allocations: 20.89 kB / 472.5 MB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.155, allocations: 166 kB / 472.6 MB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.155, allocations: 384 / 472.6 MB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.155, allocations: 16.11 kB / 472.7 MB, free: 4.359 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1552, allocations: 61.66 kB / 472.7 MB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1552, allocations: 0 / 472.7 MB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1552, allocations: 0 / 472.7 MB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1552, allocations: 0 / 472.7 MB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1554, allocations: 43.89 kB / 472.8 MB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.1558, allocations: 252.5 kB / 473 MB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.156, allocations: 70.67 kB / 473.1 MB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.395e-05/0.156, allocations: 24.78 kB / 473.1 MB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.1561, allocations: 4 kB / 473.1 MB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.1562, allocations: 75.31 kB / 473.2 MB, free: 3.777 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1562, allocations: 0 / 473.2 MB, free: 3.777 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.000626/0.1568, allocations: 221.3 kB / 473.4 MB, free: 3.555 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1569, allocations: 51.41 kB / 473.4 MB, free: 3.492 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.1571, allocations: 258.5 kB / 473.7 MB, free: 3.227 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.1572, allocations: 33.7 kB / 473.7 MB, free: 3.188 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.1572, allocations: 108.1 kB / 473.8 MB, free: 3.078 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.1573, allocations: 31.73 kB / 473.9 MB, free: 3.047 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.1573, allocations: 21.72 kB / 473.9 MB, free: 3.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1575, allocations: 338.8 kB / 474.2 MB, free: 2.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.751e-05/0.1575, allocations: 20 kB / 474.2 MB, free: 2.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.371e-05/0.1576, allocations: 49.62 kB / 474.3 MB, free: 2.605 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1578, allocations: 77.67 kB / 474.4 MB, free: 2.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1578, allocations: 4 kB / 474.4 MB, free: 2.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002217/0.158, allocations: 121.5 kB / 474.5 MB, free: 2.395 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.158, allocations: 8 kB / 474.5 MB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.158, allocations: 0 / 474.5 MB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.158, allocations: 0 / 474.5 MB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1581, allocations: 23.92 kB / 474.5 MB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1581, allocations: 0 / 474.5 MB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/0.1582, allocations: 8 kB / 474.5 MB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.1582, allocations: 0 / 474.5 MB, free: 2.355 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 (11): * Single equations (assignments): 11 * 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.0001274/0.1583, allocations: 141.8 kB / 474.7 MB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.1584, allocations: 15.91 kB / 474.7 MB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.1587, allocations: 147 kB / 474.8 MB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1587, allocations: 3.938 kB / 474.8 MB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1587, allocations: 0 / 474.8 MB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1587, allocations: 3.984 kB / 474.8 MB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.1592, allocations: 386.8 kB / 475.2 MB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1592, allocations: 0 / 475.2 MB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.984e-05/0.1593, allocations: 12 kB / 475.2 MB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.537e-06/0.1593, allocations: 12.02 kB / 475.2 MB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.1593, allocations: 8 kB / 475.2 MB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1593, allocations: 0 / 475.2 MB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.1593, allocations: 7.938 kB / 475.2 MB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.1596, allocations: 236.2 kB / 475.5 MB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.1597, allocations: 20.08 kB / 475.5 MB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.1597, allocations: 0 / 475.5 MB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.1598, allocations: 7.938 kB / 475.5 MB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.1598, allocations: 15.92 kB / 475.5 MB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1598, allocations: 4 kB / 475.5 MB, free: 1.285 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.16, allocations: 196.2 kB / 475.7 MB, free: 1.094 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.16, allocations: 0 / 475.7 MB, free: 1.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1603, allocations: 27.98 kB / 475.7 MB, free: 1.066 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 (11): * Single equations (assignments): 9 * 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.001916/0.1622, allocations: 497 kB / 476.2 MB, free: 0.5898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1624, allocations: 75.91 kB / 476.3 MB, free: 0.5156 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1624, allocations: 0 / 476.3 MB, free: 0.5156 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.422e-05/0.1625, allocations: 35.98 kB / 476.3 MB, free: 492 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1629, allocations: 31.95 kB / 476.4 MB, free: 460 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005595/0.1634, allocations: 303.4 kB / 476.7 MB, free: 124 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2656/0.429, allocations: 105.9 kB / 476.8 MB, free: 50 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.4291, allocations: 16.2 kB / 476.8 MB, free: 50 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.4292, allocations: 20.86 kB / 476.8 MB, free: 50 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4292, allocations: 0.5 kB / 476.8 MB, free: 50 MB / 446.1 MB Notification: Performance of Templates: time 0.0048/0.434, allocations: 1.944 MB / 478.8 MB, free: 49.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.159228913020343]