Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001896/0.001896, allocations: 194 kB / 18.12 MB, free: 5.363 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.45/1.45, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2118/0.2118, allocations: 44.17 MB / 336.1 MB, free: 3.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 65.17 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1408, allocations: 60.83 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003902/0.1448, allocations: 1.756 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1463, allocations: 0.8654 MB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.1463, allocations: 0 / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.1466, allocations: 47.75 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.1468, allocations: 39.84 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.1473, allocations: 95.83 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1474, allocations: 91.69 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1475, allocations: 16.22 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.775e-05/0.1476, allocations: 31.8 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1478, allocations: 31.8 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1478, allocations: 4 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.271e-05/0.1479, allocations: 43.97 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.148, allocations: 19.92 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.148, allocations: 35.73 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.1482, allocations: 111.9 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.1483, allocations: 4 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1483, allocations: 0 / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1483, allocations: 0 / 471.7 MB, free: 11.66 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.0005644/0.1488, allocations: 418.8 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1489, allocations: 8.031 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.1489, allocations: 8.844 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.1492, allocations: 216.8 kB / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1492, allocations: 4.375 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.1493, allocations: 8.125 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1494, allocations: 53.67 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1494, allocations: 0 / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1494, allocations: 0 / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1494, allocations: 0 / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.616e-05/0.1495, allocations: 23.92 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.1499, allocations: 296.8 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1501, allocations: 54.67 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.1502, allocations: 20.86 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1502, allocations: 0 / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.1504, allocations: 67.33 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1504, allocations: 4 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005275/0.1509, allocations: 185.3 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.151, allocations: 51.41 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1512, allocations: 191.3 kB / 473.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1512, allocations: 29.7 kB / 473.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.1512, allocations: 104.1 kB / 473.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.1513, allocations: 27.69 kB / 473.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.1513, allocations: 17.72 kB / 473.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1515, allocations: 334.8 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.1515, allocations: 19.98 kB / 473.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.639e-05/0.1516, allocations: 41.58 kB / 473.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1517, allocations: 61.66 kB / 473.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1517, allocations: 0 / 473.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001823/0.1519, allocations: 109.6 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1519, allocations: 8 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1519, allocations: 0 / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.152, allocations: 0 / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.1521, allocations: 15.98 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1521, allocations: 4 kB / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.1521, allocations: 3.938 kB / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.1521, allocations: 4 kB / 474.1 MB, free: 9.074 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.0001008/0.1522, allocations: 133 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.1523, allocations: 19.81 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.1523, allocations: 13.41 kB / 474.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.1523, allocations: 0 / 474.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1523, allocations: 4 kB / 474.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1523, allocations: 7.922 kB / 474.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.1528, allocations: 387.3 kB / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1528, allocations: 4 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.1528, allocations: 11.94 kB / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1529, allocations: 4.031 kB / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1529, allocations: 3.938 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1529, allocations: 0 / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1529, allocations: 4 kB / 474.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1531, allocations: 208.2 kB / 474.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.1532, allocations: 81.02 kB / 474.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.1532, allocations: 7.938 kB / 474.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.1533, allocations: 8 kB / 474.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.1533, allocations: 7.984 kB / 474.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1534, allocations: 7.938 kB / 474.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.1535, allocations: 152.9 kB / 475.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1535, allocations: 0 / 475.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1537, allocations: 24 kB / 475.1 MB, free: 7.906 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.001045/0.1548, allocations: 475 kB / 475.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.155, allocations: 59.91 kB / 475.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.155, allocations: 0 / 475.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.093e-05/0.1551, allocations: 27.98 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1554, allocations: 36.11 kB / 475.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.1559, allocations: 256.9 kB / 476 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.1563, allocations: 0.716 MB / 476.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.218e-05/0.1564, allocations: 12.88 kB / 476.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.1564, allocations: 15.44 kB / 476.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1565, allocations: 0 / 476.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of Templates: time 0.004385/0.1608, allocations: 1.633 MB / 478.3 MB, free: 4.832 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches