Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001444/0.001443, allocations: 103.5 kB / 17.63 MB, free: 5.344 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.001643/0.001643, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 242.2 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2134/0.2134, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 58.91 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1335, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003578/0.1371, allocations: 1.7 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.1388, allocations: 0.8769 MB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.502e-05/0.1389, allocations: 0 / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.1392, allocations: 83.7 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.1396, allocations: 79.72 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.1398, allocations: 110.6 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.14, allocations: 103.7 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1401, allocations: 12.22 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.533e-05/0.1402, allocations: 51.78 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1403, allocations: 55.81 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1404, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-05/0.1405, allocations: 43.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.353e-05/0.1406, allocations: 31.84 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.1406, allocations: 31.75 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1408, allocations: 111.9 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.1409, allocations: 3.984 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1409, allocations: 7.875 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1409, allocations: 4 kB / 472.6 MB, free: 11.04 MB / 350.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.0006071/0.1415, allocations: 418.9 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1415, allocations: 12.03 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.1416, allocations: 8.844 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.1418, allocations: 215.9 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1418, allocations: 4.359 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.1419, allocations: 8.125 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.142, allocations: 53.67 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.142, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1421, allocations: 4 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1421, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.019e-05/0.1421, allocations: 19.98 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.1426, allocations: 288.9 kB / 473.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1428, allocations: 58.61 kB / 473.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.1428, allocations: 20.86 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1429, allocations: 0 / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.143, allocations: 63.39 kB / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.627e-06/0.1431, allocations: 3.984 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006613/0.1437, allocations: 189 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1438, allocations: 51.41 kB / 473.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.144, allocations: 219.4 kB / 474.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.144, allocations: 29.7 kB / 474.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.1441, allocations: 100.1 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.1441, allocations: 27.64 kB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.1442, allocations: 25.66 kB / 474.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1443, allocations: 334.8 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.188e-05/0.1444, allocations: 12 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.1444, allocations: 37.7 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1446, allocations: 66.06 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1446, allocations: 0 / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001724/0.1447, allocations: 97.53 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1448, allocations: 4 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1448, allocations: 4 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1448, allocations: 7.984 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.1449, allocations: 16 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1449, allocations: 8.156 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.145, allocations: 7.938 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.145, allocations: 3.938 kB / 474.9 MB, free: 8.43 MB / 350.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.0001031/0.1451, allocations: 132.1 kB / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1451, allocations: 15.81 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.1452, allocations: 17.39 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1452, allocations: 0 / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.1452, allocations: 0 / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1452, allocations: 3.938 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.1456, allocations: 399.3 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1456, allocations: 0 / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.1457, allocations: 11.98 kB / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1457, allocations: 0 / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1457, allocations: 3.938 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.1457, allocations: 4 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1457, allocations: 0 / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.1459, allocations: 208.2 kB / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.146, allocations: 85.02 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.146, allocations: 7.922 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.1461, allocations: 8 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.1461, allocations: 0 / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1462, allocations: 11.92 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.1463, allocations: 164.2 kB / 476 MB, free: 7.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1463, allocations: 0 / 476 MB, free: 7.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1466, allocations: 24 kB / 476 MB, free: 7.254 MB / 350.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.001056/0.1476, allocations: 458.1 kB / 476.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.1478, allocations: 67.89 kB / 476.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1478, allocations: 4 kB / 476.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.1479, allocations: 35.86 kB / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.1482, allocations: 27.98 kB / 476.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.1487, allocations: 239.4 kB / 476.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.149, allocations: 0.7119 MB / 477.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.9e-05/0.1491, allocations: 12.89 kB / 477.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.1491, allocations: 19.42 kB / 477.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of SimCode: time 1.773e-06/0.1491, allocations: 0 / 477.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of Templates: time 0.004566/0.1537, allocations: 1.718 MB / 479.3 MB, free: 4.117 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches