Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009236/0.0009235, allocations: 92.2 kB / 16.03 MB, free: 56 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 184.9 kB / 16.93 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.4 MB / 223.1 MB, free: 5.508 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.4424/0.4424, allocations: 43.58 MB / 315 MB, free: 8.992 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.0006492/0.0006493, allocations: 16 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1449, allocations: 58.87 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002605/0.1476, allocations: 1.414 MB / 444.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.1493, allocations: 0.7769 MB / 445.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1494, allocations: 4 kB / 445.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.1498, allocations: 51.8 kB / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.1501, allocations: 51.83 kB / 445.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1504, allocations: 75.84 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.1506, allocations: 99.69 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1508, allocations: 12.22 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1509, allocations: 47.72 kB / 446 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.081e-05/0.151, allocations: 31.84 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.151, allocations: 0 / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1511, allocations: 35.98 kB / 446.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.87e-05/0.1512, allocations: 31.84 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.452e-05/0.1513, allocations: 69.33 kB / 446.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.1516, allocations: 135.8 kB / 446.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1516, allocations: 0 / 446.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1516, allocations: 0 / 446.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1516, allocations: 0 / 446.3 MB, free: 10.06 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006322/0.1522, allocations: 422.9 kB / 446.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1523, allocations: 12.03 kB / 446.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.1524, allocations: 12.75 kB / 446.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.1527, allocations: 220.9 kB / 446.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.1527, allocations: 384 / 446.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.1527, allocations: 16.12 kB / 447 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1529, allocations: 53.61 kB / 447 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.1529, allocations: 4 kB / 447 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1529, allocations: 0 / 447 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.153, allocations: 0 / 447 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.1531, allocations: 19.98 kB / 447 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.1535, allocations: 308.7 kB / 447.3 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1537, allocations: 54.62 kB / 447.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/0.1538, allocations: 24.84 kB / 447.4 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1538, allocations: 4 kB / 447.4 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.154, allocations: 63.39 kB / 447.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.457e-06/0.154, allocations: 3.984 kB / 447.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006032/0.1546, allocations: 185.1 kB / 447.7 MB, free: 8.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.1547, allocations: 51.41 kB / 447.7 MB, free: 8.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.155, allocations: 272.7 kB / 448 MB, free: 8.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.155, allocations: 29.7 kB / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.1551, allocations: 116.1 kB / 448.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.1551, allocations: 27.64 kB / 448.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.1551, allocations: 9.719 kB / 448.2 MB, free: 7.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1553, allocations: 330.8 kB / 448.5 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.481e-05/0.1553, allocations: 27.98 kB / 448.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.1554, allocations: 45.58 kB / 448.6 MB, free: 7.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1555, allocations: 57.69 kB / 448.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1555, allocations: 0 / 448.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001758/0.1557, allocations: 105.4 kB / 448.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1557, allocations: 4 kB / 448.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1557, allocations: 4.031 kB / 448.7 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1558, allocations: 4 kB / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/0.1559, allocations: 15.98 kB / 448.7 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.1559, allocations: 4.141 kB / 448.7 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.1559, allocations: 7.938 kB / 448.8 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.1559, allocations: 4 kB / 448.8 MB, free: 7.352 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 (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 0.0001054/0.1561, allocations: 137.8 kB / 448.9 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.1561, allocations: 11.81 kB / 448.9 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.1561, allocations: 33.33 kB / 448.9 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1562, allocations: 4 kB / 448.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1562, allocations: 0 / 448.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1562, allocations: 3.938 kB / 448.9 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.1566, allocations: 399.3 kB / 449.3 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1566, allocations: 0 / 449.3 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.1567, allocations: 8 kB / 449.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1567, allocations: 0 / 449.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1567, allocations: 19.95 kB / 449.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1567, allocations: 0 / 449.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1567, allocations: 0 / 449.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.1569, allocations: 204.1 kB / 449.6 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.157, allocations: 92.92 kB / 449.6 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.1571, allocations: 7.922 kB / 449.7 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.1571, allocations: 8.375 kB / 449.7 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.1572, allocations: 8 kB / 449.7 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.1572, allocations: 11.98 kB / 449.7 MB, free: 6.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.1574, allocations: 204.5 kB / 449.9 MB, free: 6.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1574, allocations: 0 / 449.9 MB, free: 6.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1576, allocations: 27.98 kB / 449.9 MB, free: 6.09 MB / 382.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.001047/0.1587, allocations: 465 kB / 450.4 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.1589, allocations: 55.92 kB / 450.4 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1589, allocations: 4 kB / 450.4 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.159, allocations: 35.91 kB / 450.5 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1593, allocations: 27.91 kB / 450.5 MB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.1599, allocations: 327.3 kB / 450.8 MB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1602, allocations: 0.7199 MB / 451.5 MB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.105e-05/0.1603, allocations: 17.19 kB / 451.5 MB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.1603, allocations: 19.42 kB / 451.6 MB, free: 4.418 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1603, allocations: 0 / 451.6 MB, free: 4.418 MB / 382.1 MB Notification: Performance of Templates: time 0.004519/0.1648, allocations: 1.638 MB / 453.2 MB, free: 2.781 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches