Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 99.2 kB / 16.99 MB, free: 6.398 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.001343/0.001343, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.41/1.41, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2179/0.2179, allocations: 44.22 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 12 kB / 409.5 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1347, allocations: 61.9 MB / 471.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.001987/0.1367, allocations: 1.356 MB / 472.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1379, allocations: 0.7724 MB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.138, allocations: 7.938 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.1382, allocations: 31.83 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1384, allocations: 55.86 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.1387, allocations: 87.53 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1388, allocations: 63.84 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.1388, allocations: 7.984 kB / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.139, allocations: 39.83 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.95e-05/0.1391, allocations: 23.86 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.1391, allocations: 4 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.739e-05/0.1392, allocations: 19.94 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.1392, allocations: 31.89 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.1393, allocations: 41.64 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.1394, allocations: 80.11 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.1394, allocations: 0 / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1394, allocations: 0 / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.1394, allocations: 3.938 kB / 474.1 MB, free: 11.08 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.0005427/0.14, allocations: 418.8 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.14, allocations: 8.031 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.1401, allocations: 11.91 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1404, allocations: 218.6 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1404, allocations: 0 / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.1404, allocations: 4 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.1405, allocations: 49.62 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1406, allocations: 0 / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1406, allocations: 8 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1406, allocations: 4 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.041e-05/0.1407, allocations: 7.984 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.1409, allocations: 189.7 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.141, allocations: 58.55 kB / 475 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.141, allocations: 0 / 475 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.1413, allocations: 67.44 kB / 475.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.1413, allocations: 0 / 475.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002769/0.1416, allocations: 101.4 kB / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1416, allocations: 55.41 kB / 475.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.1419, allocations: 262.3 kB / 475.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.1419, allocations: 29.7 kB / 475.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.142, allocations: 112.1 kB / 475.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.142, allocations: 15.88 kB / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.142, allocations: 0 / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1422, allocations: 326.8 kB / 476 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.1422, allocations: 12 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.1423, allocations: 29.7 kB / 476 MB, free: 8.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.907e-05/0.1423, allocations: 16 kB / 476 MB, free: 8.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1424, allocations: 0 / 476 MB, free: 8.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001455/0.1425, allocations: 89.42 kB / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1425, allocations: 4 kB / 476.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1425, allocations: 3.953 kB / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1426, allocations: 4 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.1427, allocations: 12.03 kB / 476.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1427, allocations: 0 / 476.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.1427, allocations: 15.83 kB / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1427, allocations: 0 / 476.2 MB, free: 8.766 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.1429, allocations: 138.3 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.1429, allocations: 15.84 kB / 476.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.1429, allocations: 13 kB / 476.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.143, allocations: 7.953 kB / 476.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.143, allocations: 0 / 476.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.143, allocations: 15.91 kB / 476.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.1431, allocations: 189.6 kB / 476.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1432, allocations: 0 / 476.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.1432, allocations: 8.297 kB / 476.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1432, allocations: 0 / 476.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.1432, allocations: 0 / 476.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.1432, allocations: 8 kB / 476.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1432, allocations: 3.953 kB / 476.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.1434, allocations: 116.9 kB / 476.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.1435, allocations: 88.92 kB / 476.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1435, allocations: 0 / 476.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.1436, allocations: 7.984 kB / 476.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.1436, allocations: 3.953 kB / 476.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1436, allocations: 4 kB / 476.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1438, allocations: 196.5 kB / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1438, allocations: 0 / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002/0.144, allocations: 24 kB / 477 MB, free: 7.844 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008622/0.1449, allocations: 413.6 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.145, allocations: 39.92 kB / 477.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.145, allocations: 0 / 477.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.437e-05/0.1451, allocations: 23.98 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.1453, allocations: 15.98 kB / 477.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.1458, allocations: 273.9 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1461, allocations: 0.716 MB / 478.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.807e-05/0.1461, allocations: 20.41 kB / 478.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.1461, allocations: 11.44 kB / 478.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1461, allocations: 0 / 478.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of Templates: time 0.003872/0.15, allocations: 1.408 MB / 479.9 MB, free: 5.043 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches