Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 107.5 kB / 17.04 MB, free: 5.809 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.00169/0.00169, allocations: 196 kB / 17.97 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.595/1.595, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2615/0.2615, allocations: 43.52 MB / 314.7 MB, free: 480 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.001523/0.001523, allocations: 73.61 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1486, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002959/0.1516, allocations: 1.659 MB / 443.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1528, allocations: 0.7789 MB / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.1529, allocations: 4 kB / 444.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.1532, allocations: 63.78 kB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.1535, allocations: 63.69 kB / 444.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.1537, allocations: 87.75 kB / 444.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.1539, allocations: 99.69 kB / 444.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.292e-05/0.1539, allocations: 7.984 kB / 444.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.154, allocations: 39.78 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1541, allocations: 43.83 kB / 444.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1541, allocations: 8 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.325e-05/0.1542, allocations: 32 kB / 444.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.1543, allocations: 15.92 kB / 444.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.1543, allocations: 35.78 kB / 444.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.1545, allocations: 95.59 kB / 445 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1545, allocations: 0 / 445 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1545, allocations: 0 / 445 MB, free: 3.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1545, allocations: 0 / 445 MB, free: 3.102 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.0005463/0.1551, allocations: 407 kB / 445.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1552, allocations: 19.89 kB / 445.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.1552, allocations: 8.844 kB / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.1555, allocations: 208.9 kB / 445.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1556, allocations: 4.375 kB / 445.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.1556, allocations: 4.125 kB / 445.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1557, allocations: 53.61 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1558, allocations: 0 / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1558, allocations: 4 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.1558, allocations: 0 / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.206e-05/0.1558, allocations: 19.98 kB / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.156, allocations: 173.7 kB / 445.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.1562, allocations: 54.61 kB / 445.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.1562, allocations: 20.8 kB / 446 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1563, allocations: 0 / 446 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.1564, allocations: 75.33 kB / 446 MB, free: 1.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.1564, allocations: 0 / 446 MB, free: 1.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000276/0.1567, allocations: 93.56 kB / 446.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1568, allocations: 51.41 kB / 446.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.1569, allocations: 190 kB / 446.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.1569, allocations: 29.7 kB / 446.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.157, allocations: 104.1 kB / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.157, allocations: 11.91 kB / 446.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.1571, allocations: 25.64 kB / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.301e-05/0.1571, allocations: 322.8 kB / 446.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/0.1572, allocations: 12 kB / 446.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.252e-05/0.1572, allocations: 29.7 kB / 446.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.131e-05/0.1573, allocations: 45.7 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1574, allocations: 4.25 kB / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001349/0.1575, allocations: 85.47 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1575, allocations: 5.25 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1575, allocations: 4 kB / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1576, allocations: 0 / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.1576, allocations: 8 kB / 447 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1576, allocations: 3.984 kB / 447 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.1577, allocations: 11.84 kB / 447 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.1577, allocations: 0 / 447 MB, free: 0.8203 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 0.0001094/0.1578, allocations: 141.7 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.1579, allocations: 15.89 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.1579, allocations: 12.25 kB / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1579, allocations: 0 / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1579, allocations: 0 / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.158, allocations: 0 / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1581, allocations: 189.6 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1581, allocations: 0 / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.1581, allocations: 7.984 kB / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1581, allocations: 0 / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1582, allocations: 4 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1582, allocations: 0 / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1582, allocations: 0 / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.1583, allocations: 113 kB / 447.5 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.1584, allocations: 84.92 kB / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1584, allocations: 0 / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.542e-05/0.1585, allocations: 11.94 kB / 447.6 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.1585, allocations: 7.984 kB / 447.6 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1585, allocations: 4 kB / 447.6 MB, free: 148 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.411e-05/0.1586, allocations: 139.2 kB / 447.8 MB, free: 8 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1586, allocations: 0 / 447.8 MB, free: 8 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1589, allocations: 16.05 kB / 447.8 MB, free: 15.99 MB / 334.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.001085/0.16, allocations: 421.9 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.1602, allocations: 31.98 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/0.1602, allocations: 8.062 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/0.1603, allocations: 23.92 kB / 448.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.1605, allocations: 27.92 kB / 448.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.161, allocations: 194.1 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1613, allocations: 0.6963 MB / 449.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.1614, allocations: 24.66 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.1614, allocations: 19.44 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1614, allocations: 0 / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of Templates: time 0.004524/0.166, allocations: 1.466 MB / 450.7 MB, free: 13.14 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches