Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.001089, allocations: 99.38 kB / 16.27 MB, free: 5.957 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.001085/0.001085, allocations: 187.6 kB / 17.19 MB, free: 5.594 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.768/1.768, allocations: 205.1 MB / 223.1 MB, free: 12.15 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.2489/0.2489, allocations: 43.53 MB / 313.9 MB, free: 0.5 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.001469/0.001469, allocations: 74.02 kB / 382.7 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.146, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003/0.1491, allocations: 1.697 MB / 442.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1502, allocations: 0.7922 MB / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.419e-05/0.1503, allocations: 0 / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.1507, allocations: 87.7 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.1509, allocations: 71.73 kB / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1512, allocations: 91.69 kB / 443.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1513, allocations: 103.7 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1515, allocations: 12.5 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.1515, allocations: 51.78 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.618e-05/0.1517, allocations: 55.81 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1517, allocations: 4 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.389e-05/0.1518, allocations: 43.98 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.1518, allocations: 23.91 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.1519, allocations: 39.69 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.1521, allocations: 111.6 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1521, allocations: 4 kB / 443.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1521, allocations: 3.938 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1521, allocations: 0 / 443.7 MB, free: 3.688 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.0005281/0.1527, allocations: 414.9 kB / 444.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1527, allocations: 15.89 kB / 444.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.1528, allocations: 16.73 kB / 444.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.153, allocations: 204.1 kB / 444.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.153, allocations: 4.375 kB / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.153, allocations: 8.125 kB / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1532, allocations: 57.61 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1532, allocations: 3.984 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1532, allocations: 0 / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1532, allocations: 8 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.721e-05/0.1533, allocations: 15.98 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.1537, allocations: 292.7 kB / 444.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.1538, allocations: 58.62 kB / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.1539, allocations: 28.83 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.1539, allocations: 0 / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.1541, allocations: 71.33 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1541, allocations: 0 / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005156/0.1546, allocations: 169.5 kB / 445.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.1546, allocations: 51.41 kB / 445.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1548, allocations: 223.5 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.1548, allocations: 29.7 kB / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.1549, allocations: 100.1 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.1549, allocations: 27.64 kB / 445.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.155, allocations: 21.72 kB / 445.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.155, allocations: 326.8 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-05/0.1551, allocations: 23.98 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.983e-05/0.1551, allocations: 41.62 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.325e-05/0.1552, allocations: 65.77 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1553, allocations: 0 / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001471/0.1554, allocations: 101.4 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1554, allocations: 4 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1554, allocations: 0 / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1555, allocations: 4 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.1556, allocations: 15.98 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1556, allocations: 4.031 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.1556, allocations: 11.94 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1556, allocations: 0 / 446.1 MB, free: 1.082 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 9.32e-05/0.1557, allocations: 133.7 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.1558, allocations: 11.91 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.1558, allocations: 21.55 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1558, allocations: 0 / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1558, allocations: 4 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1559, allocations: 3.938 kB / 446.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.1562, allocations: 403.2 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1562, allocations: 0 / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.1563, allocations: 11.98 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1563, allocations: 0 / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1563, allocations: 3.938 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1563, allocations: 4 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1563, allocations: 0 / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.1565, allocations: 204.3 kB / 446.9 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.1565, allocations: 89.11 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.1566, allocations: 3.938 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.1566, allocations: 11.92 kB / 447 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.1567, allocations: 8 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.1567, allocations: 3.938 kB / 447 MB, free: 76 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1569, allocations: 163.2 kB / 447.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1569, allocations: 4 kB / 447.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1571, allocations: 24 kB / 447.2 MB, free: 15.89 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.001068/0.1582, allocations: 462.2 kB / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.1584, allocations: 67.89 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1584, allocations: 0 / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/0.1585, allocations: 35.92 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1588, allocations: 23.98 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.1593, allocations: 247.1 kB / 448 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.1596, allocations: 0.7041 MB / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.182e-05/0.1597, allocations: 21.17 kB / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.1597, allocations: 19.44 kB / 448.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of SimCode: time 2.725e-06/0.1597, allocations: 0 / 448.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of Templates: time 0.004589/0.1643, allocations: 1.699 MB / 450.4 MB, free: 12.66 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches