Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001514, allocations: 177.1 kB / 16.07 MB, free: 5.578 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.46/1.46, allocations: 205.6 MB / 222.4 MB, free: 13.64 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.0007764/0.0007764, allocations: 94.25 kB / 270.8 MB, free: 13.16 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.2304/0.2304, allocations: 43.68 MB / 362.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.000304, allocations: 16 kB / 432.3 MB, free: 19.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1014, allocations: 58.85 MB / 491.2 MB, free: 8.094 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002132/0.1036, allocations: 1.394 MB / 492.6 MB, free: 6.684 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1057, allocations: 1.487 MB / 494.1 MB, free: 5.148 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.329e-05/0.1058, allocations: 4 kB / 494.1 MB, free: 5.145 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.1061, allocations: 35.89 kB / 494.1 MB, free: 5.109 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.1063, allocations: 43.83 kB / 494.1 MB, free: 5.066 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.1066, allocations: 71.86 kB / 494.2 MB, free: 4.996 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1067, allocations: 103.7 kB / 494.3 MB, free: 4.895 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.165e-05/0.1068, allocations: 8.234 kB / 494.3 MB, free: 4.887 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.1069, allocations: 39.73 kB / 494.4 MB, free: 4.848 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1071, allocations: 40.84 kB / 494.4 MB, free: 4.809 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1071, allocations: 4 kB / 494.4 MB, free: 4.805 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1072, allocations: 47.98 kB / 494.4 MB, free: 4.758 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.1073, allocations: 23.91 kB / 494.5 MB, free: 4.734 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.1073, allocations: 65.38 kB / 494.5 MB, free: 4.664 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.1076, allocations: 123.9 kB / 494.7 MB, free: 4.543 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1076, allocations: 0 / 494.7 MB, free: 4.543 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1076, allocations: 0 / 494.7 MB, free: 4.543 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1076, allocations: 0 / 494.7 MB, free: 4.543 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004778/0.1081, allocations: 395.2 kB / 495 MB, free: 4.109 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1081, allocations: 12.03 kB / 495.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.1082, allocations: 12.75 kB / 495.1 MB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.1084, allocations: 208.8 kB / 495.3 MB, free: 3.844 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1084, allocations: 3.938 kB / 495.3 MB, free: 3.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1084, allocations: 4 kB / 495.3 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.1086, allocations: 79.31 kB / 495.4 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1086, allocations: 0 / 495.4 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1087, allocations: 3.984 kB / 495.4 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1087, allocations: 8 kB / 495.4 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.056e-05/0.1088, allocations: 23.98 kB / 495.4 MB, free: 3.711 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.1091, allocations: 300.6 kB / 495.7 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.1093, allocations: 74.61 kB / 495.8 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.07e-05/0.1094, allocations: 24.86 kB / 495.8 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1094, allocations: 7.938 kB / 495.8 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.1096, allocations: 71.38 kB / 495.9 MB, free: 3.168 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.1096, allocations: 0 / 495.9 MB, free: 3.168 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005312/0.1101, allocations: 193.2 kB / 496 MB, free: 2.973 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.1102, allocations: 88.98 kB / 496.1 MB, free: 2.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1104, allocations: 163.8 kB / 496.3 MB, free: 2.695 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1104, allocations: 25.7 kB / 496.3 MB, free: 2.664 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.1104, allocations: 96.12 kB / 496.4 MB, free: 2.566 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.1105, allocations: 31.72 kB / 496.4 MB, free: 2.535 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.1105, allocations: 4 kB / 496.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1106, allocations: 318.8 kB / 496.8 MB, free: 2.211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.279e-05/0.1107, allocations: 27.98 kB / 496.8 MB, free: 2.184 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.545e-05/0.1107, allocations: 46.56 kB / 496.8 MB, free: 2.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1109, allocations: 73.67 kB / 496.9 MB, free: 2.051 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1109, allocations: 0 / 496.9 MB, free: 2.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002068/0.1111, allocations: 113.5 kB / 497 MB, free: 1.934 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1111, allocations: 8 kB / 497 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1111, allocations: 0 / 497 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1112, allocations: 3.938 kB / 497 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.1113, allocations: 19.98 kB / 497 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1113, allocations: 4.031 kB / 497.1 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.1113, allocations: 8 kB / 497.1 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1113, allocations: 3.984 kB / 497.1 MB, free: 1.887 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 (11): * Single equations (assignments): 11 * 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.0001/0.1114, allocations: 129.8 kB / 497.2 MB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.1115, allocations: 15.81 kB / 497.2 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.1115, allocations: 16.84 kB / 497.2 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1115, allocations: 0 / 497.2 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1116, allocations: 3.938 kB / 497.2 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1116, allocations: 0 / 497.2 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.112, allocations: 419.2 kB / 497.6 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.112, allocations: 3.938 kB / 497.6 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.1121, allocations: 8 kB / 497.6 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1121, allocations: 0 / 497.6 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1121, allocations: 8 kB / 497.7 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1121, allocations: 0 / 497.7 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1121, allocations: 0 / 497.7 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1124, allocations: 220.2 kB / 497.9 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.1124, allocations: 89.02 kB / 498 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.1124, allocations: 3.984 kB / 498 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1125, allocations: 4 kB / 498 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.1126, allocations: 7.984 kB / 498 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.1126, allocations: 8 kB / 498 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.1127, allocations: 120.4 kB / 498.1 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1127, allocations: 0 / 498.1 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000245/0.113, allocations: 32 kB / 498.1 MB, free: 0.707 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 (9): * Single equations (assignments): 7 * 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.001061/0.114, allocations: 0.5867 MB / 498.7 MB, free: 272 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.1142, allocations: 67.84 kB / 498.8 MB, free: 204 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.1142, allocations: 4 kB / 498.8 MB, free: 200 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.524e-05/0.1143, allocations: 28 kB / 498.8 MB, free: 172 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.1146, allocations: 31.95 kB / 498.8 MB, free: 140 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.1151, allocations: 234.1 kB / 499.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.1154, allocations: 0.7043 MB / 499.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.238e-05/0.1155, allocations: 24.78 kB / 499.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.1155, allocations: 15.72 kB / 499.8 MB, free: 15.11 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1155, allocations: 0 / 499.8 MB, free: 15.11 MB / 346.7 MB Notification: Performance of Templates: time 0.004405/0.1199, allocations: 1.968 MB / 0.49 GB, free: 13.14 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches