Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001024, allocations: 103 kB / 16.02 MB, free: 76 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.001643/0.001643, allocations: 181.5 kB / 16.92 MB, free: 6.922 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.958/1.958, allocations: 205.4 MB / 223.1 MB, free: 5.766 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.3988/0.3988, allocations: 43.58 MB / 315 MB, free: 8.676 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.0005741/0.0005746, allocations: 16 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 58.87 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002746/0.1121, allocations: 1.414 MB / 444.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1136, allocations: 0.7691 MB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-05/0.1137, allocations: 3.938 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.1141, allocations: 31.89 kB / 445.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.1144, allocations: 51.83 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.1147, allocations: 75.84 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.115, allocations: 87.7 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1151, allocations: 12.22 kB / 445.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1152, allocations: 39.78 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1153, allocations: 31.78 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.1154, allocations: 4 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1155, allocations: 39.98 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.1156, allocations: 23.91 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.915e-05/0.1156, allocations: 53.45 kB / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1159, allocations: 111.9 kB / 446.2 MB, free: 9.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1159, allocations: 0 / 446.2 MB, free: 9.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1159, allocations: 4 kB / 446.2 MB, free: 9.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1159, allocations: 3.938 kB / 446.2 MB, free: 9.91 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.0006994/0.1166, allocations: 399 kB / 446.6 MB, free: 9.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1166, allocations: 8.031 kB / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.1167, allocations: 12.84 kB / 446.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.1169, allocations: 216 kB / 446.8 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.117, allocations: 384 / 446.8 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.117, allocations: 8.125 kB / 446.8 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1172, allocations: 53.67 kB / 446.9 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1172, allocations: 0 / 446.9 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.1172, allocations: 0 / 446.9 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1172, allocations: 3.938 kB / 446.9 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.737e-05/0.1173, allocations: 23.92 kB / 446.9 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.1177, allocations: 288.9 kB / 447.2 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.1179, allocations: 58.67 kB / 447.3 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.118, allocations: 16.86 kB / 447.3 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.118, allocations: 7.922 kB / 447.3 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.1183, allocations: 79.3 kB / 447.4 MB, free: 8.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1183, allocations: 0 / 447.4 MB, free: 8.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006537/0.1189, allocations: 161.3 kB / 447.5 MB, free: 8.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.119, allocations: 59.39 kB / 447.6 MB, free: 8.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.1192, allocations: 182.2 kB / 447.7 MB, free: 8.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1193, allocations: 29.7 kB / 447.8 MB, free: 8.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.1194, allocations: 104.1 kB / 447.9 MB, free: 8.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.1194, allocations: 27.7 kB / 447.9 MB, free: 8.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.1194, allocations: 13.72 kB / 447.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.1196, allocations: 330.8 kB / 448.2 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/0.1197, allocations: 12 kB / 448.3 MB, free: 7.641 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.245e-05/0.1198, allocations: 37.7 kB / 448.3 MB, free: 7.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1199, allocations: 61.64 kB / 448.3 MB, free: 7.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1199, allocations: 4 kB / 448.4 MB, free: 7.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001894/0.1201, allocations: 109.6 kB / 448.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1201, allocations: 4 kB / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1201, allocations: 0 / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1202, allocations: 0 / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1203, allocations: 20 kB / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1203, allocations: 0 / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.1203, allocations: 12.11 kB / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.1204, allocations: 0 / 448.5 MB, free: 7.379 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.000163/0.1205, allocations: 129.8 kB / 448.6 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.1205, allocations: 11.91 kB / 448.6 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.1206, allocations: 16.7 kB / 448.7 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1206, allocations: 0 / 448.7 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1206, allocations: 0 / 448.7 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1206, allocations: 7.938 kB / 448.7 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.1212, allocations: 391.2 kB / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1212, allocations: 4.031 kB / 449 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.1212, allocations: 19.86 kB / 449.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1212, allocations: 0 / 449.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.1213, allocations: 7.938 kB / 449.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1213, allocations: 0 / 449.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1213, allocations: 0 / 449.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.1215, allocations: 196.3 kB / 449.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.1216, allocations: 96.91 kB / 449.4 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1216, allocations: 7.938 kB / 449.4 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.1217, allocations: 4 kB / 449.4 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1217, allocations: 7.984 kB / 449.4 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1217, allocations: 8.312 kB / 449.4 MB, free: 6.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002734/0.122, allocations: 140.1 kB / 449.5 MB, free: 6.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.122, allocations: 0 / 449.5 MB, free: 6.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1223, allocations: 23.98 kB / 449.5 MB, free: 6.227 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.001057/0.1233, allocations: 482.2 kB / 450 MB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.1235, allocations: 59.86 kB / 450.1 MB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1235, allocations: 0 / 450.1 MB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/0.1236, allocations: 32.05 kB / 450.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.124, allocations: 27.91 kB / 450.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.1245, allocations: 247 kB / 450.4 MB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.1249, allocations: 0.7043 MB / 451.1 MB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.125, allocations: 16.86 kB / 451.1 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.1251, allocations: 15.44 kB / 451.1 MB, free: 4.637 MB / 382.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1251, allocations: 0 / 451.1 MB, free: 4.637 MB / 382.1 MB Notification: Performance of Templates: time 0.004748/0.1298, allocations: 1.611 MB / 452.7 MB, free: 3.027 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches