Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 111.3 kB / 17.04 MB, free: 5.812 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.002321/0.002321, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.33/0.33, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 69.27 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1353, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.0035/0.1389, allocations: 1.69 MB / 443.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1402, allocations: 0.7961 MB / 444.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1403, allocations: 0 / 444.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.1407, allocations: 39.83 kB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.1411, allocations: 71.56 kB / 444.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.1414, allocations: 83.75 kB / 444.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1416, allocations: 91.77 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1417, allocations: 4.234 kB / 444.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.292e-05/0.1418, allocations: 47.77 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.814e-05/0.1419, allocations: 27.86 kB / 444.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1419, allocations: 4 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.142, allocations: 47.92 kB / 444.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.063e-05/0.1421, allocations: 23.91 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.1421, allocations: 31.75 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.1424, allocations: 111.6 kB / 445 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1424, allocations: 0 / 445 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1424, allocations: 0 / 445 MB, free: 3.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1424, allocations: 0 / 445 MB, free: 3.078 MB / 318.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.0005325/0.143, allocations: 410.9 kB / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.143, allocations: 19.89 kB / 445.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.1431, allocations: 12.78 kB / 445.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1434, allocations: 212.9 kB / 445.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1434, allocations: 384 / 445.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.1434, allocations: 8.125 kB / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1436, allocations: 53.67 kB / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1436, allocations: 0 / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1436, allocations: 0 / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1436, allocations: 0 / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.621e-05/0.1437, allocations: 23.98 kB / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.1441, allocations: 292.7 kB / 446.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.1443, allocations: 58.67 kB / 446.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.1443, allocations: 16.86 kB / 446.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1443, allocations: 0 / 446.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.1445, allocations: 79.31 kB / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1445, allocations: 0 / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005551/0.1451, allocations: 165.2 kB / 446.4 MB, free: 1.582 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.1451, allocations: 55.34 kB / 446.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1453, allocations: 194.1 kB / 446.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1453, allocations: 29.7 kB / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.1453, allocations: 104.1 kB / 446.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.1454, allocations: 19.72 kB / 446.8 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.1454, allocations: 25.7 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.1455, allocations: 326.8 kB / 447.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.341e-05/0.1455, allocations: 16 kB / 447.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.683e-05/0.1456, allocations: 41.64 kB / 447.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.964e-05/0.1457, allocations: 70 kB / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1457, allocations: 0 / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001638/0.1459, allocations: 101.6 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1459, allocations: 5.25 kB / 447.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1459, allocations: 4 kB / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1459, allocations: 0 / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.146, allocations: 19.94 kB / 447.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1461, allocations: 0 / 447.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.1461, allocations: 11.92 kB / 447.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.1461, allocations: 11.97 kB / 447.4 MB, free: 0.5039 MB / 318.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 8.875e-05/0.1462, allocations: 121.8 kB / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.1463, allocations: 15.81 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.1463, allocations: 16.7 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1463, allocations: 3.984 kB / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1463, allocations: 0 / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1463, allocations: 3.938 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.1468, allocations: 399.3 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1468, allocations: 0 / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.1468, allocations: 11.98 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1468, allocations: 0 / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.1468, allocations: 11.94 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1469, allocations: 0 / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1469, allocations: 3.938 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1471, allocations: 196.3 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.1472, allocations: 85.02 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.1472, allocations: 7.938 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.1473, allocations: 7.984 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.1473, allocations: 4 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1473, allocations: 0 / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1475, allocations: 147.2 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1475, allocations: 0 / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1478, allocations: 19.91 kB / 448.4 MB, free: 15.36 MB / 334.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.001213/0.149, allocations: 487.3 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1492, allocations: 47.98 kB / 448.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1492, allocations: 8.062 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.1493, allocations: 35.91 kB / 449 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1497, allocations: 28.3 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.1503, allocations: 219.3 kB / 449.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.1508, allocations: 0.7041 MB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.188e-05/0.1509, allocations: 16.94 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.151, allocations: 15.44 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of SimCode: time 1.152e-06/0.151, allocations: 0 / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of Templates: time 0.005197/0.1562, allocations: 1.688 MB / 451.6 MB, free: 12.16 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches