Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009887/0.0009889, allocations: 174 kB / 16.08 MB, free: 5.727 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.345/1.345, allocations: 205.6 MB / 222.4 MB, free: 8.938 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.0007546/0.0007546, allocations: 86.61 kB / 270.8 MB, free: 8.121 MB / 218.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.3002/0.3002, allocations: 43.67 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.000286, allocations: 8 kB / 432.3 MB, free: 5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1007, allocations: 58.84 MB / 491.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.001812/0.1025, allocations: 1.402 MB / 492.6 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1037, allocations: 0.8292 MB / 493.4 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.1038, allocations: 0 / 493.4 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.1041, allocations: 43.88 kB / 493.4 MB, free: 7.715 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1043, allocations: 47.83 kB / 493.5 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1045, allocations: 83.83 kB / 493.6 MB, free: 7.586 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1046, allocations: 91.7 kB / 493.7 MB, free: 7.496 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.922e-05/0.1047, allocations: 12.22 kB / 493.7 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.32e-05/0.1048, allocations: 51.7 kB / 493.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/0.1049, allocations: 23.86 kB / 493.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1049, allocations: 4 kB / 493.7 MB, free: 7.406 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.853e-05/0.105, allocations: 31.98 kB / 493.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.1051, allocations: 23.91 kB / 493.8 MB, free: 7.352 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.1051, allocations: 65.38 kB / 493.9 MB, free: 7.281 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.1053, allocations: 119.8 kB / 494 MB, free: 7.164 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1053, allocations: 0 / 494 MB, free: 7.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1054, allocations: 4 kB / 494 MB, free: 7.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1054, allocations: 0 / 494 MB, free: 7.16 MB / 378.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.0004825/0.1058, allocations: 407 kB / 494.4 MB, free: 6.715 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.1059, allocations: 8.031 kB / 494.4 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.1059, allocations: 16.75 kB / 494.4 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.1061, allocations: 208.1 kB / 494.6 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1062, allocations: 8.375 kB / 494.6 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.1062, allocations: 8.031 kB / 494.6 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.1063, allocations: 61.66 kB / 494.7 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1064, allocations: 3.938 kB / 494.7 MB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1064, allocations: 4 kB / 494.7 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1064, allocations: 0 / 494.7 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.558e-05/0.1065, allocations: 15.98 kB / 494.7 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.1068, allocations: 292.8 kB / 495 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.107, allocations: 62.62 kB / 495.1 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.107, allocations: 20.84 kB / 495.1 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1071, allocations: 0 / 495.1 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.1072, allocations: 67.39 kB / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1072, allocations: 0 / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005124/0.1078, allocations: 173.1 kB / 495.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.1078, allocations: 59.34 kB / 495.4 MB, free: 5.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.108, allocations: 218.7 kB / 495.6 MB, free: 5.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.1081, allocations: 33.7 kB / 495.6 MB, free: 5.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.1081, allocations: 104.1 kB / 495.7 MB, free: 5.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1082, allocations: 23.66 kB / 495.7 MB, free: 5.195 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.1082, allocations: 0 / 495.7 MB, free: 5.195 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1083, allocations: 330.8 kB / 496.1 MB, free: 4.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-05/0.1084, allocations: 19.98 kB / 496.1 MB, free: 4.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.549e-05/0.1085, allocations: 41.7 kB / 496.1 MB, free: 4.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.1086, allocations: 69.69 kB / 496.2 MB, free: 4.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1086, allocations: 0 / 496.2 MB, free: 4.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001651/0.1088, allocations: 97.53 kB / 496.3 MB, free: 4.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1088, allocations: 4 kB / 496.3 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1088, allocations: 4 kB / 496.3 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1088, allocations: 4.031 kB / 496.3 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.1089, allocations: 15.98 kB / 496.3 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1089, allocations: 3.938 kB / 496.3 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.109, allocations: 7.938 kB / 496.3 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.109, allocations: 4 kB / 496.3 MB, free: 4.578 MB / 378.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 0.0001052/0.1091, allocations: 130.4 kB / 496.5 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.1091, allocations: 11.81 kB / 496.5 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.1092, allocations: 25.33 kB / 496.5 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1092, allocations: 0 / 496.5 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1092, allocations: 4.375 kB / 496.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1092, allocations: 3.938 kB / 496.5 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.1096, allocations: 391.3 kB / 496.9 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.371e-06/0.1097, allocations: 8 kB / 496.9 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.1097, allocations: 11.98 kB / 496.9 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1097, allocations: 0 / 496.9 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1097, allocations: 7.938 kB / 496.9 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1097, allocations: 0 / 496.9 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1097, allocations: 8.031 kB / 496.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.11, allocations: 196.2 kB / 497.1 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.11, allocations: 96.91 kB / 497.2 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1101, allocations: 3.938 kB / 497.2 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.1101, allocations: 4 kB / 497.2 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.1102, allocations: 20.11 kB / 497.2 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1102, allocations: 0 / 497.2 MB, free: 3.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.1104, allocations: 176.2 kB / 497.4 MB, free: 3.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1104, allocations: 0 / 497.4 MB, free: 3.395 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.1106, allocations: 27.98 kB / 497.4 MB, free: 3.367 MB / 378.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.001056/0.1117, allocations: 0.5283 MB / 498 MB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.1118, allocations: 63.91 kB / 498 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1119, allocations: 0 / 498 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.069e-05/0.1119, allocations: 23.98 kB / 498 MB, free: 2.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1123, allocations: 27.97 kB / 498.1 MB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.1127, allocations: 289.9 kB / 498.4 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.1131, allocations: 0.7121 MB / 499.1 MB, free: 1.812 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.912e-05/0.1132, allocations: 21.17 kB / 499.1 MB, free: 1.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.1132, allocations: 15.44 kB / 499.1 MB, free: 1.777 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1132, allocations: 0 / 499.1 MB, free: 1.777 MB / 378.7 MB Notification: Performance of Templates: time 0.00409/0.1173, allocations: 1.631 MB / 0.489 GB, free: 148 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches