Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001292/0.001292, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.444/1.444, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2109/0.2109, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 72.73 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1362, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003973/0.1403, allocations: 1.641 MB / 470.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1421, allocations: 0.8613 MB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.414e-05/0.1422, allocations: 0 / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.1425, allocations: 71.77 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.1429, allocations: 63.69 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.1432, allocations: 106.5 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.1434, allocations: 99.7 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.1435, allocations: 8 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.918e-05/0.1436, allocations: 47.77 kB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1437, allocations: 47.77 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1438, allocations: 0 / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-05/0.1439, allocations: 31.98 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.1439, allocations: 19.92 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.144, allocations: 27.81 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.1442, allocations: 95.92 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1442, allocations: 0 / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1443, allocations: 4 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.1443, allocations: 0 / 472.4 MB, free: 11.25 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.0006096/0.1449, allocations: 407 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1449, allocations: 12.03 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.145, allocations: 12.78 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.1453, allocations: 200.1 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1453, allocations: 8.359 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.1453, allocations: 8.125 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1455, allocations: 49.67 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1455, allocations: 4 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1455, allocations: 4 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1455, allocations: 0 / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.458e-05/0.1456, allocations: 15.94 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.1458, allocations: 189.5 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.1461, allocations: 50.56 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.327e-05/0.1462, allocations: 24.78 kB / 473.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1462, allocations: 4 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.1464, allocations: 67.39 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.512e-06/0.1464, allocations: 0 / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000347/0.1468, allocations: 97.52 kB / 473.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.1469, allocations: 51.41 kB / 473.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.1471, allocations: 190.1 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1471, allocations: 33.7 kB / 473.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.1472, allocations: 96.14 kB / 473.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.1473, allocations: 15.8 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.1473, allocations: 17.72 kB / 473.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1475, allocations: 326.8 kB / 474.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.591e-05/0.1475, allocations: 15.98 kB / 474.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.1476, allocations: 25.7 kB / 474.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1478, allocations: 53.64 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1478, allocations: 0 / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000201/0.148, allocations: 81.47 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.148, allocations: 4 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.148, allocations: 4 kB / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1481, allocations: 0 / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1482, allocations: 11.98 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.1482, allocations: 0 / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.1483, allocations: 8.031 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1483, allocations: 0 / 474.4 MB, free: 8.965 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 0.0001236/0.1484, allocations: 133.8 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.1484, allocations: 7.906 kB / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.1485, allocations: 12.31 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1485, allocations: 0 / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1485, allocations: 0 / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1485, allocations: 3.984 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.1487, allocations: 189.5 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1487, allocations: 7.938 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.1488, allocations: 7.938 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1488, allocations: 0 / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1488, allocations: 4.312 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1488, allocations: 7.938 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1488, allocations: 0 / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.1491, allocations: 109 kB / 474.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.1491, allocations: 84.95 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.1492, allocations: 11.98 kB / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.48e-05/0.1492, allocations: 7.984 kB / 475 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.1493, allocations: 0 / 475 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1493, allocations: 4 kB / 475 MB, free: 8.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.1494, allocations: 139.2 kB / 475.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1495, allocations: 0 / 475.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003253/0.1498, allocations: 20 kB / 475.2 MB, free: 8.129 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.001213/0.151, allocations: 410.9 kB / 475.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1512, allocations: 47.97 kB / 475.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1512, allocations: 0 / 475.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.42e-05/0.1513, allocations: 19.94 kB / 475.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.1517, allocations: 27.91 kB / 475.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.1522, allocations: 202.2 kB / 475.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.1525, allocations: 0.7041 MB / 476.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.4e-05/0.1526, allocations: 8.5 kB / 476.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.1527, allocations: 19.42 kB / 476.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1527, allocations: 0 / 476.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of Templates: time 0.005284/0.158, allocations: 1.465 MB / 478 MB, free: 5.355 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches