Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 105.9 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.00133/0.00133, 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.411/1.411, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2115/0.2115, allocations: 44.16 MB / 336.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 69.06 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1414, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002932/0.1444, allocations: 1.717 MB / 470.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1456, allocations: 0.8458 MB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.16e-05/0.1457, allocations: 0 / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.146, allocations: 59.86 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.1462, allocations: 59.8 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.1464, allocations: 91.03 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.1465, allocations: 91.69 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.1466, allocations: 11.98 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.374e-05/0.1467, allocations: 43.77 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.359e-05/0.1468, allocations: 39.84 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1468, allocations: 8 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.469e-05/0.1469, allocations: 31.92 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.1469, allocations: 19.92 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.147, allocations: 27.8 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.1471, allocations: 99.92 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1471, allocations: 0 / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1472, allocations: 0 / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1472, allocations: 0 / 471.7 MB, free: 11.68 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004982/0.1477, allocations: 397.7 kB / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.1477, allocations: 12.02 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.1478, allocations: 12.84 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.148, allocations: 204.1 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.148, allocations: 384 / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.148, allocations: 12.06 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1481, allocations: 45.67 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.1481, allocations: 3.938 kB / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1482, allocations: 0 / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1482, allocations: 0 / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.606e-05/0.1482, allocations: 15.98 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.1484, allocations: 193.5 kB / 472.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.1486, allocations: 54.55 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.1486, allocations: 20.8 kB / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.1487, allocations: 0 / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.1489, allocations: 71.38 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1489, allocations: 0 / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002647/0.1491, allocations: 105.7 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.1492, allocations: 51.41 kB / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1494, allocations: 186.1 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.1494, allocations: 29.7 kB / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.1495, allocations: 100.1 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.1495, allocations: 11.81 kB / 473.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.1495, allocations: 33.7 kB / 473.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1497, allocations: 318.8 kB / 473.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.94e-05/0.1497, allocations: 12 kB / 473.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.608e-05/0.1498, allocations: 29.7 kB / 473.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.481e-05/0.1499, allocations: 45.64 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1499, allocations: 0 / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001503/0.1501, allocations: 85.53 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1501, allocations: 4 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1501, allocations: 0 / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1501, allocations: 0 / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.1502, allocations: 19.94 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1502, allocations: 3.984 kB / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.1503, allocations: 0 / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1503, allocations: 4 kB / 473.7 MB, free: 9.41 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 (7): * Single equations (assignments): 7 * 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 9.592e-05/0.1504, allocations: 125.8 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.1504, allocations: 11.89 kB / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.1504, allocations: 12.31 kB / 473.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1504, allocations: 4 kB / 473.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1504, allocations: 3.938 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1505, allocations: 3.984 kB / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.1506, allocations: 185.5 kB / 474 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1506, allocations: 4 kB / 474 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.1506, allocations: 3.984 kB / 474 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1506, allocations: 4 kB / 474 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.1506, allocations: 0 / 474 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1507, allocations: 4 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1507, allocations: 3.938 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.1509, allocations: 117 kB / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.1509, allocations: 88.95 kB / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1509, allocations: 0 / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.151, allocations: 0 / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.151, allocations: 7.984 kB / 474.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.151, allocations: 8 kB / 474.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1511, allocations: 139.2 kB / 474.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1512, allocations: 0 / 474.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002056/0.1514, allocations: 16 kB / 474.4 MB, free: 8.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008572/0.1522, allocations: 410.6 kB / 474.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.1524, allocations: 43.92 kB / 474.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1524, allocations: 0 / 474.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.823e-05/0.1525, allocations: 24.05 kB / 474.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.1527, allocations: 27.92 kB / 474.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.1531, allocations: 211.7 kB / 475.1 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1534, allocations: 0.7004 MB / 475.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.076e-05/0.1534, allocations: 16.53 kB / 475.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.1535, allocations: 15.44 kB / 475.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1535, allocations: 0 / 475.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of Templates: time 0.003718/0.1572, allocations: 1.423 MB / 477.3 MB, free: 5.836 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches