Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 108.9 kB / 16.27 MB, free: 5.93 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.002185/0.002185, allocations: 191.3 kB / 17.2 MB, free: 5.574 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.781/1.781, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2257/0.2257, allocations: 43.52 MB / 313.9 MB, free: 0.5156 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.002822/0.002822, allocations: 69.39 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1352, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003114/0.1384, allocations: 1.648 MB / 442.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1396, allocations: 0.7827 MB / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1397, allocations: 0 / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.14, allocations: 55.8 kB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.1402, allocations: 67.69 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.1405, allocations: 75.77 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.1406, allocations: 91.7 kB / 443.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.1407, allocations: 11.98 kB / 443.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.175e-05/0.1407, allocations: 35.84 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.1408, allocations: 43.77 kB / 443.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1409, allocations: 4 kB / 443.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.864e-05/0.1409, allocations: 35.98 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.141, allocations: 12 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.141, allocations: 35.67 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.1412, allocations: 95.98 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1412, allocations: 4 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1412, allocations: 0 / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1412, allocations: 0 / 443.5 MB, free: 3.879 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004414/0.1417, allocations: 395 kB / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1417, allocations: 15.89 kB / 443.9 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.1418, allocations: 12.84 kB / 443.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.142, allocations: 202.2 kB / 444.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.142, allocations: 384 / 444.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.142, allocations: 8.125 kB / 444.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1422, allocations: 49.61 kB / 444.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1422, allocations: 0 / 444.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1422, allocations: 0 / 444.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1422, allocations: 0 / 444.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.142e-05/0.1423, allocations: 19.98 kB / 444.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.1425, allocations: 189.5 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1427, allocations: 58.56 kB / 444.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.1428, allocations: 28.77 kB / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1428, allocations: 3.938 kB / 444.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.143, allocations: 59.39 kB / 444.5 MB, free: 2.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 2.334e-06/0.143, allocations: 4 kB / 444.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002661/0.1433, allocations: 93.58 kB / 444.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.1433, allocations: 51.41 kB / 444.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1435, allocations: 174.1 kB / 444.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.1435, allocations: 25.7 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.1435, allocations: 100.1 kB / 445 MB, free: 2.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1436, allocations: 15.89 kB / 445 MB, free: 2.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.1436, allocations: 17.72 kB / 445 MB, free: 2.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.1437, allocations: 326.8 kB / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/0.1437, allocations: 12 kB / 445.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.701e-05/0.1438, allocations: 25.95 kB / 445.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.219e-05/0.1439, allocations: 49.7 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1439, allocations: 0 / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001241/0.144, allocations: 85.38 kB / 445.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.144, allocations: 12.03 kB / 445.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.144, allocations: 3.938 kB / 445.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1441, allocations: 0 / 445.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.1441, allocations: 11.98 kB / 445.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1441, allocations: 0 / 445.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.1442, allocations: 8 kB / 445.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1442, allocations: 4 kB / 445.5 MB, free: 1.625 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 (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 7.039e-05/0.1443, allocations: 129.6 kB / 445.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.1443, allocations: 11.91 kB / 445.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.436e-05/0.1443, allocations: 16.31 kB / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1443, allocations: 0 / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1444, allocations: 0 / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1444, allocations: 0 / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.597e-05/0.1445, allocations: 185.5 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1445, allocations: 4 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.842e-05/0.1445, allocations: 3.984 kB / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1445, allocations: 0 / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.1445, allocations: 4 kB / 445.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1445, allocations: 0 / 445.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1445, allocations: 0 / 445.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.1447, allocations: 116.9 kB / 446 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.1447, allocations: 85.02 kB / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.1447, allocations: 8 kB / 446.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.167e-05/0.1448, allocations: 0 / 446.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.1448, allocations: 11.92 kB / 446.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1448, allocations: 0 / 446.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.616e-05/0.1449, allocations: 131.2 kB / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1449, allocations: 4 kB / 446.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.1451, allocations: 19.98 kB / 446.3 MB, free: 0.8125 MB / 318.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.0008209/0.1459, allocations: 408.9 kB / 446.7 MB, free: 500 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.1461, allocations: 39.92 kB / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1461, allocations: 0 / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.678e-05/0.1462, allocations: 24.11 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.1464, allocations: 43.84 kB / 446.8 MB, free: 392 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.1468, allocations: 186 kB / 446.9 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.147, allocations: 0.6963 MB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.95e-05/0.1471, allocations: 16.53 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.1471, allocations: 11.44 kB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1471, allocations: 0 / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of Templates: time 0.004601/0.1517, allocations: 1.461 MB / 449.1 MB, free: 13.98 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches