Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009801/0.00098, allocations: 181 kB / 16.08 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.6 MB / 222.4 MB, free: 13.68 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008623/0.0008623, allocations: 94.19 kB / 270.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1995/0.1995, allocations: 43.68 MB / 362.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003795, allocations: 20 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1089, allocations: 58.85 MB / 491.2 MB, free: 8.148 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.001933/0.1108, allocations: 1.394 MB / 492.6 MB, free: 6.738 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1121, allocations: 0.8214 MB / 493.4 MB, free: 5.891 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.1122, allocations: 7.938 kB / 493.4 MB, free: 5.883 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.1126, allocations: 31.89 kB / 493.4 MB, free: 5.852 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1128, allocations: 47.83 kB / 493.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.1131, allocations: 75.84 kB / 493.5 MB, free: 5.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.1132, allocations: 91.69 kB / 493.6 MB, free: 5.641 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.612e-05/0.1133, allocations: 8.234 kB / 493.6 MB, free: 5.633 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.259e-05/0.1134, allocations: 43.72 kB / 493.7 MB, free: 5.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.838e-05/0.1135, allocations: 27.86 kB / 493.7 MB, free: 5.562 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1135, allocations: 4 kB / 493.7 MB, free: 5.559 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.489e-05/0.1136, allocations: 39.97 kB / 493.8 MB, free: 5.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.1137, allocations: 15.92 kB / 493.8 MB, free: 5.504 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.1137, allocations: 53.45 kB / 493.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.1139, allocations: 111.9 kB / 493.9 MB, free: 5.336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1139, allocations: 0 / 493.9 MB, free: 5.336 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1139, allocations: 0 / 493.9 MB, free: 5.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1139, allocations: 0 / 493.9 MB, free: 5.336 MB / 330.7 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.0004988/0.1144, allocations: 399.1 kB / 494.3 MB, free: 4.898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1145, allocations: 8.031 kB / 494.3 MB, free: 4.891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.1145, allocations: 12.84 kB / 494.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1147, allocations: 208.1 kB / 494.6 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1148, allocations: 384 / 494.6 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1148, allocations: 4.125 kB / 494.6 MB, free: 4.633 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.115, allocations: 61.61 kB / 494.6 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.115, allocations: 0 / 494.6 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.115, allocations: 0 / 494.6 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.115, allocations: 0 / 494.6 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.168e-05/0.1151, allocations: 23.98 kB / 494.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.1154, allocations: 284.9 kB / 494.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.1156, allocations: 62.59 kB / 495 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.1156, allocations: 20.86 kB / 495 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1157, allocations: 4 kB / 495 MB, free: 4.117 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.1158, allocations: 67.38 kB / 495.1 MB, free: 4.039 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1159, allocations: 0 / 495.1 MB, free: 4.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004948/0.1164, allocations: 165.2 kB / 495.2 MB, free: 3.871 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.1164, allocations: 51.41 kB / 495.3 MB, free: 3.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.1166, allocations: 177.1 kB / 495.5 MB, free: 3.629 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1166, allocations: 29.7 kB / 495.5 MB, free: 3.594 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.1166, allocations: 96.14 kB / 495.6 MB, free: 3.496 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.1167, allocations: 27.64 kB / 495.6 MB, free: 3.469 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.1167, allocations: 7.938 kB / 495.6 MB, free: 3.461 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.1168, allocations: 326.8 kB / 495.9 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/0.1169, allocations: 23.98 kB / 496 MB, free: 3.109 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/0.1169, allocations: 41.58 kB / 496 MB, free: 3.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1171, allocations: 57.7 kB / 496 MB, free: 3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1171, allocations: 0 / 496 MB, free: 3 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001742/0.1172, allocations: 101.5 kB / 496.1 MB, free: 2.895 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1173, allocations: 8 kB / 496.2 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1173, allocations: 0 / 496.2 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1173, allocations: 0 / 496.2 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.1174, allocations: 12 kB / 496.2 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1174, allocations: 4 kB / 496.2 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.1175, allocations: 11.86 kB / 496.2 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1175, allocations: 8 kB / 496.2 MB, free: 2.852 MB / 330.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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.491e-05/0.1176, allocations: 125.8 kB / 496.3 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.1176, allocations: 7.906 kB / 496.3 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.1176, allocations: 16.7 kB / 496.3 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1177, allocations: 4 kB / 496.3 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1177, allocations: 384 / 496.3 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1177, allocations: 3.938 kB / 496.3 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.1181, allocations: 387.3 kB / 496.7 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1181, allocations: 4 kB / 496.7 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.1181, allocations: 12 kB / 496.7 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1181, allocations: 0 / 496.7 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1182, allocations: 11.92 kB / 496.8 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1182, allocations: 0 / 496.8 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1182, allocations: 0 / 496.8 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.1184, allocations: 204.3 kB / 497 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.1184, allocations: 88.92 kB / 497 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1185, allocations: 7.922 kB / 497 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.1186, allocations: 4 kB / 497 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.1186, allocations: 8 kB / 497.1 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1186, allocations: 7.984 kB / 497.1 MB, free: 1.863 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.415e-05/0.1187, allocations: 125.3 kB / 497.2 MB, free: 1.742 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1187, allocations: 0 / 497.2 MB, free: 1.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.119, allocations: 24 kB / 497.2 MB, free: 1.719 MB / 330.7 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.001013/0.1201, allocations: 0.5375 MB / 497.7 MB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.1202, allocations: 56.11 kB / 497.8 MB, free: 1.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1203, allocations: 0 / 497.8 MB, free: 1.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.933e-05/0.1203, allocations: 39.91 kB / 497.8 MB, free: 1.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1207, allocations: 23.98 kB / 497.9 MB, free: 1.207 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.1211, allocations: 234.1 kB / 498.1 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.1213, allocations: 0.7043 MB / 498.8 MB, free: 228 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.397e-05/0.1214, allocations: 17.17 kB / 498.8 MB, free: 208 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.1214, allocations: 15.44 kB / 498.8 MB, free: 192 kB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1214, allocations: 4 kB / 498.8 MB, free: 188 kB / 330.7 MB Notification: Performance of Templates: time 0.003991/0.1254, allocations: 1.615 MB / 0.4887 GB, free: 14.57 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches