Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001787/0.001788, allocations: 194 kB / 18.12 MB, free: 5.383 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.457/1.457, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.2178/0.2178, allocations: 44.18 MB / 336.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001554, allocations: 64.31 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1434, allocations: 60.83 MB / 468.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003306/0.1468, allocations: 1.757 MB / 470.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1483, allocations: 0.8654 MB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.1484, allocations: 3.938 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.1487, allocations: 55.86 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.149, allocations: 55.75 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.1493, allocations: 91.78 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1494, allocations: 99.67 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1495, allocations: 16.22 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.778e-05/0.1496, allocations: 39.78 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.1497, allocations: 31.84 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.1498, allocations: 4 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1499, allocations: 43.92 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.15, allocations: 27.91 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.033e-05/0.15, allocations: 35.69 kB / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.1503, allocations: 131.8 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.1503, allocations: 4 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1503, allocations: 4 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1503, allocations: 0 / 471.8 MB, free: 11.54 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.0007033/0.151, allocations: 434.8 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.1511, allocations: 8.031 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.1511, allocations: 12.75 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1515, allocations: 219.9 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1515, allocations: 384 / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1515, allocations: 8.125 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.1517, allocations: 57.67 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.1517, allocations: 0 / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1518, allocations: 0 / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1518, allocations: 0 / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.477e-05/0.1519, allocations: 19.98 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.1524, allocations: 308.8 kB / 472.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.1526, allocations: 58.69 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.1527, allocations: 24.84 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1527, allocations: 0 / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.153, allocations: 67.33 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.153, allocations: 0 / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006783/0.1536, allocations: 185 kB / 473.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.1537, allocations: 59.34 kB / 473.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.1541, allocations: 262.9 kB / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1541, allocations: 33.7 kB / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.1542, allocations: 108.1 kB / 473.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.1542, allocations: 23.7 kB / 473.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.1543, allocations: 21.72 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.1545, allocations: 330.8 kB / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.543e-05/0.1546, allocations: 19.98 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.084e-05/0.1547, allocations: 49.58 kB / 474 MB, free: 9.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1548, allocations: 65.62 kB / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1548, allocations: 0 / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001907/0.155, allocations: 97.5 kB / 474.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1551, allocations: 4 kB / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1551, allocations: 0 / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1551, allocations: 32 / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1552, allocations: 31.92 kB / 474.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1552, allocations: 0 / 474.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/0.1553, allocations: 7.938 kB / 474.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.1553, allocations: 0 / 474.2 MB, free: 8.828 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.0001469/0.1554, allocations: 137.8 kB / 474.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.1555, allocations: 15.81 kB / 474.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.1555, allocations: 21.39 kB / 474.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1555, allocations: 0 / 474.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1556, allocations: 4 kB / 474.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.1556, allocations: 3.938 kB / 474.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/0.1561, allocations: 403.3 kB / 474.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1561, allocations: 0 / 474.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.1561, allocations: 8 kB / 474.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1561, allocations: 4 kB / 474.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1562, allocations: 8.297 kB / 474.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1562, allocations: 0 / 474.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.1562, allocations: 15.95 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.1564, allocations: 204.2 kB / 475.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.1565, allocations: 88.92 kB / 475.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.1565, allocations: 3.938 kB / 475.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.1566, allocations: 8 kB / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.1567, allocations: 3.984 kB / 475.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1567, allocations: 8 kB / 475.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.1569, allocations: 200.2 kB / 475.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1569, allocations: 0 / 475.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.1572, allocations: 23.98 kB / 475.4 MB, free: 7.586 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.001052/0.1582, allocations: 473.2 kB / 475.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1584, allocations: 59.97 kB / 475.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1584, allocations: 0 / 475.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.091e-05/0.1585, allocations: 23.94 kB / 475.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1589, allocations: 31.97 kB / 476 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.1594, allocations: 309.6 kB / 476.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1597, allocations: 0.72 MB / 477 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.279e-05/0.1598, allocations: 12.88 kB / 477 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.1598, allocations: 15.44 kB / 477 MB, free: 6.074 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1598, allocations: 0 / 477 MB, free: 6.074 MB / 350.1 MB Notification: Performance of Templates: time 0.004418/0.1643, allocations: 1.676 MB / 478.7 MB, free: 4.418 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches