Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 105.3 kB / 17.03 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009928/0.0009928, allocations: 194.9 kB / 17.96 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2496/0.2496, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 75.25 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1432, allocations: 57.8 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003264/0.1465, allocations: 1.689 MB / 443.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1477, allocations: 0.7961 MB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.1478, allocations: 0 / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.1481, allocations: 91.69 kB / 444.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.1484, allocations: 71.72 kB / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1486, allocations: 83.77 kB / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.1488, allocations: 107.7 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1489, allocations: 12.22 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.544e-05/0.149, allocations: 59.75 kB / 444.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1491, allocations: 55.77 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.1492, allocations: 4 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1493, allocations: 43.98 kB / 445 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.782e-05/0.1493, allocations: 19.92 kB / 445 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.1494, allocations: 39.72 kB / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1496, allocations: 115.6 kB / 445.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1496, allocations: 4 kB / 445.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1496, allocations: 0 / 445.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1496, allocations: 0 / 445.2 MB, free: 2.934 MB / 318.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.0005331/0.1501, allocations: 426.9 kB / 445.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1502, allocations: 15.89 kB / 445.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.1502, allocations: 12.75 kB / 445.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1505, allocations: 204.1 kB / 445.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1506, allocations: 4.375 kB / 445.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1506, allocations: 8.125 kB / 445.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.1507, allocations: 53.61 kB / 445.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1508, allocations: 4 kB / 445.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1508, allocations: 4 kB / 445.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1508, allocations: 4 kB / 445.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.81e-05/0.1509, allocations: 19.92 kB / 445.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.1512, allocations: 292.7 kB / 446.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.1514, allocations: 58.67 kB / 446.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.1515, allocations: 24.84 kB / 446.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1515, allocations: 0 / 446.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.1516, allocations: 75.31 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.855e-06/0.1517, allocations: 0 / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005208/0.1522, allocations: 177.1 kB / 446.5 MB, free: 1.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.1522, allocations: 51.41 kB / 446.6 MB, free: 1.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1524, allocations: 215.6 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.1524, allocations: 29.7 kB / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.1524, allocations: 104.1 kB / 446.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.1525, allocations: 23.66 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.1525, allocations: 25.7 kB / 446.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.1526, allocations: 326.8 kB / 447.3 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-05/0.1526, allocations: 23.98 kB / 447.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.341e-05/0.1527, allocations: 33.7 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.418e-05/0.1528, allocations: 57.66 kB / 447.4 MB, free: 488 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1528, allocations: 4 kB / 447.4 MB, free: 484 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001508/0.153, allocations: 109.4 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.153, allocations: 4 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.153, allocations: 4 kB / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.153, allocations: 0 / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.1531, allocations: 12 kB / 447.5 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1531, allocations: 8.172 kB / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.1532, allocations: 7.938 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.1532, allocations: 8 kB / 447.5 MB, free: 324 kB / 318.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 7.959e-05/0.1533, allocations: 125.8 kB / 447.7 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.1533, allocations: 11.91 kB / 447.7 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.1534, allocations: 17.39 kB / 447.7 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1534, allocations: 4 kB / 447.7 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1534, allocations: 0 / 447.7 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1534, allocations: 4.125 kB / 447.7 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.1538, allocations: 403.2 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1539, allocations: 3.938 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.1539, allocations: 15.94 kB / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1539, allocations: 0 / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1539, allocations: 7.938 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1539, allocations: 0 / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1539, allocations: 0 / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.1542, allocations: 212.2 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.1542, allocations: 88.92 kB / 448.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.1543, allocations: 3.938 kB / 448.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.1543, allocations: 4.375 kB / 448.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.1544, allocations: 7.984 kB / 448.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.1544, allocations: 7.938 kB / 448.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.1545, allocations: 159.2 kB / 448.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1546, allocations: 4 kB / 448.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1548, allocations: 24 kB / 448.6 MB, free: 15.12 MB / 334.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 (8): * Single equations (assignments): 6 * 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.001118/0.1559, allocations: 465.6 kB / 449.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1562, allocations: 59.92 kB / 449.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1562, allocations: 0 / 449.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.1562, allocations: 31.98 kB / 449.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1566, allocations: 23.97 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.1572, allocations: 243 kB / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.1575, allocations: 0.7197 MB / 450.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.917e-05/0.1576, allocations: 17.17 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.1576, allocations: 15.44 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1576, allocations: 0 / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of Templates: time 0.004756/0.1624, allocations: 1.704 MB / 451.9 MB, free: 11.9 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches