Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 105.7 kB / 15.98 MB, free: 6.355 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.002531/0.002531, allocations: 192.3 kB / 16.91 MB, free: 6.191 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.874/1.874, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4196/0.4196, allocations: 43.49 MB / 313.6 MB, free: 8.484 MB / 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.001417/0.001417, allocations: 71.89 kB / 382.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1373, allocations: 57.78 MB / 440 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003227/0.1405, allocations: 1.721 MB / 441.7 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.1419, allocations: 0.769 MB / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.142, allocations: 3.938 kB / 442.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.1423, allocations: 47.88 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.1426, allocations: 55.81 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.1429, allocations: 75.84 kB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.1431, allocations: 91.7 kB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.837e-05/0.1432, allocations: 15.97 kB / 442.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.721e-05/0.1432, allocations: 43.78 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.1433, allocations: 35.78 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1434, allocations: 4 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.1435, allocations: 27.98 kB / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.1436, allocations: 27.92 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.1437, allocations: 43.67 kB / 443 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.1439, allocations: 111.9 kB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1439, allocations: 3.938 kB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.227e-06/0.1439, allocations: 0 / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1439, allocations: 4 kB / 443.1 MB, free: 11.64 MB / 382.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.0007599/0.1447, allocations: 438.6 kB / 443.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1447, allocations: 11.89 kB / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.1448, allocations: 12.84 kB / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.145, allocations: 211.8 kB / 443.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1451, allocations: 384 / 443.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.1451, allocations: 8.125 kB / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1452, allocations: 49.67 kB / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1452, allocations: 4 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-06/0.1453, allocations: 3.938 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1453, allocations: 0 / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.423e-05/0.1453, allocations: 19.92 kB / 443.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.1456, allocations: 189.7 kB / 444 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1457, allocations: 50.62 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.1458, allocations: 28.78 kB / 444.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1458, allocations: 3.984 kB / 444.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.146, allocations: 63.39 kB / 444.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.1461, allocations: 3.938 kB / 444.2 MB, free: 10.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002749/0.1463, allocations: 97.48 kB / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.1464, allocations: 55.41 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.1466, allocations: 263.7 kB / 444.6 MB, free: 9.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1467, allocations: 29.7 kB / 444.6 MB, free: 9.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.1467, allocations: 108.1 kB / 444.7 MB, free: 9.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.1468, allocations: 11.81 kB / 444.7 MB, free: 9.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.1468, allocations: 21.7 kB / 444.7 MB, free: 9.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1469, allocations: 326.8 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.147, allocations: 12 kB / 445.1 MB, free: 9.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.147, allocations: 29.7 kB / 445.1 MB, free: 9.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.917e-05/0.1471, allocations: 49.64 kB / 445.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1471, allocations: 0 / 445.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001522/0.1473, allocations: 89.38 kB / 445.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1473, allocations: 4 kB / 445.2 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1473, allocations: 4 kB / 445.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1473, allocations: 0 / 445.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.1474, allocations: 11.98 kB / 445.2 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1474, allocations: 4.031 kB / 445.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.1475, allocations: 11.94 kB / 445.3 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1475, allocations: 0 / 445.3 MB, free: 9.223 MB / 382.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.056e-05/0.1476, allocations: 133.8 kB / 445.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.1476, allocations: 15.81 kB / 445.4 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.1477, allocations: 16.98 kB / 445.4 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1477, allocations: 4 kB / 445.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1477, allocations: 0 / 445.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1477, allocations: 0 / 445.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.148, allocations: 205.5 kB / 445.6 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.148, allocations: 0 / 445.6 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.027e-05/0.148, allocations: 8.25 kB / 445.6 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.148, allocations: 0 / 445.6 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.148, allocations: 0 / 445.6 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.148, allocations: 8 kB / 445.6 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.148, allocations: 0 / 445.6 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.1482, allocations: 116.8 kB / 445.8 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.1483, allocations: 89.02 kB / 445.8 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.1483, allocations: 3.984 kB / 445.8 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.649e-05/0.1483, allocations: 4 kB / 445.9 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.1484, allocations: 4 kB / 445.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.1484, allocations: 7.938 kB / 445.9 MB, free: 8.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.1486, allocations: 203 kB / 446.1 MB, free: 8.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1486, allocations: 0 / 446.1 MB, free: 8.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001996/0.1488, allocations: 16 kB / 446.1 MB, free: 8.305 MB / 382.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.0008485/0.1496, allocations: 418.1 kB / 446.5 MB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.1498, allocations: 43.92 kB / 446.5 MB, free: 7.887 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1498, allocations: 0 / 446.5 MB, free: 7.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.1499, allocations: 23.92 kB / 446.6 MB, free: 7.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.1501, allocations: 39.72 kB / 446.6 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.1506, allocations: 294.5 kB / 446.9 MB, free: 7.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.1509, allocations: 0.7119 MB / 447.6 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.729e-05/0.151, allocations: 16.55 kB / 447.6 MB, free: 6.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.151, allocations: 11.44 kB / 447.6 MB, free: 6.746 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.151, allocations: 0 / 447.6 MB, free: 6.746 MB / 382.1 MB Notification: Performance of Templates: time 0.004153/0.1552, allocations: 1.471 MB / 449.1 MB, free: 5.273 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches