Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, 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.448/1.448, allocations: 205.6 MB / 222.4 MB, free: 8.949 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.0007518/0.0007517, allocations: 82.81 kB / 270.8 MB, free: 8.129 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.3197/0.3197, allocations: 43.67 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002826, allocations: 8 kB / 432.3 MB, free: 5.004 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09629, allocations: 58.85 MB / 491.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.001771/0.09811, allocations: 1.479 MB / 492.6 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.0999, allocations: 1.553 MB / 494.2 MB, free: 6.926 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.09997, allocations: 0 / 494.2 MB, free: 6.926 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.1003, allocations: 55.81 kB / 494.3 MB, free: 6.871 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.1005, allocations: 75.67 kB / 494.3 MB, free: 6.797 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1008, allocations: 127.8 kB / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.101, allocations: 171.4 kB / 494.6 MB, free: 6.504 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.101, allocations: 13.55 kB / 494.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1011, allocations: 71.58 kB / 494.7 MB, free: 6.414 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.1013, allocations: 63.69 kB / 494.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1013, allocations: 8 kB / 494.8 MB, free: 6.344 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1015, allocations: 55.97 kB / 494.8 MB, free: 6.289 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/0.1015, allocations: 27.84 kB / 494.9 MB, free: 6.262 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.054e-05/0.1016, allocations: 85.3 kB / 494.9 MB, free: 6.172 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.1018, allocations: 159.8 kB / 495.1 MB, free: 6.016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1018, allocations: 4 kB / 495.1 MB, free: 6.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1018, allocations: 0 / 495.1 MB, free: 6.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.1018, allocations: 0 / 495.1 MB, free: 6.012 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005262/0.1024, allocations: 446.8 kB / 495.5 MB, free: 5.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.1024, allocations: 12.03 kB / 495.5 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.1025, allocations: 16.75 kB / 495.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.1027, allocations: 243.6 kB / 495.8 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1027, allocations: 384 / 495.8 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1028, allocations: 16.11 kB / 495.8 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.103, allocations: 105 kB / 495.9 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.103, allocations: 0 / 495.9 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.103, allocations: 3.984 kB / 495.9 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.103, allocations: 0 / 495.9 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.546e-05/0.1031, allocations: 35.91 kB / 496 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.1033, allocations: 210.5 kB / 496.2 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.1036, allocations: 105.2 kB / 496.3 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.291e-05/0.1037, allocations: 41.64 kB / 496.3 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.1037, allocations: 7.984 kB / 496.3 MB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.1039, allocations: 113 kB / 496.4 MB, free: 4.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1039, allocations: 0 / 496.4 MB, free: 4.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003936/0.1043, allocations: 165.4 kB / 496.6 MB, free: 4.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.1044, allocations: 128.5 kB / 496.7 MB, free: 4.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.1046, allocations: 215.7 kB / 496.9 MB, free: 3.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1046, allocations: 29.7 kB / 497 MB, free: 3.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.1047, allocations: 116.1 kB / 497.1 MB, free: 3.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.1047, allocations: 39.62 kB / 497.1 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1047, allocations: 0 / 497.1 MB, free: 3.746 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1049, allocations: 330.8 kB / 497.4 MB, free: 3.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-05/0.1049, allocations: 23.98 kB / 497.5 MB, free: 3.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.35e-05/0.1051, allocations: 73.08 kB / 497.5 MB, free: 3.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.1052, allocations: 87.44 kB / 497.6 MB, free: 3.203 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1052, allocations: 0 / 497.6 MB, free: 3.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002356/0.1055, allocations: 141.2 kB / 497.7 MB, free: 3.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.1055, allocations: 4 kB / 497.8 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1055, allocations: 0 / 497.8 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.1055, allocations: 8.062 kB / 497.8 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/0.1056, allocations: 19.98 kB / 497.8 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1056, allocations: 4 kB / 497.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.787e-05/0.1057, allocations: 11.94 kB / 497.8 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1057, allocations: 4 kB / 497.8 MB, free: 3.008 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.44e-05/0.1058, allocations: 133.8 kB / 497.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.1059, allocations: 15.81 kB / 497.9 MB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/0.1059, allocations: 17.61 kB / 498 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1059, allocations: 8 kB / 498 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1059, allocations: 0 / 498 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1059, allocations: 0 / 498 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.1061, allocations: 221.4 kB / 498.2 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1061, allocations: 7.984 kB / 498.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.1062, allocations: 8 kB / 498.2 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1062, allocations: 3.938 kB / 498.2 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1062, allocations: 8 kB / 498.2 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1062, allocations: 0 / 498.2 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1062, allocations: 3.938 kB / 498.2 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.1065, allocations: 169.7 kB / 498.4 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.1065, allocations: 104.8 kB / 498.5 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1066, allocations: 0 / 498.5 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.526e-05/0.1066, allocations: 8 kB / 498.5 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.1067, allocations: 7.984 kB / 498.5 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.1067, allocations: 11.94 kB / 498.5 MB, free: 2.195 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1068, allocations: 165.5 kB / 498.7 MB, free: 2.035 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1069, allocations: 0 / 498.7 MB, free: 2.035 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.1071, allocations: 36 kB / 498.7 MB, free: 2 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008934/0.108, allocations: 0.5081 MB / 499.2 MB, free: 1.621 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.1083, allocations: 83.91 kB / 499.3 MB, free: 1.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1083, allocations: 0 / 499.3 MB, free: 1.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.249e-05/0.1084, allocations: 35.92 kB / 499.3 MB, free: 1.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.1087, allocations: 59.88 kB / 499.4 MB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.1091, allocations: 291.1 kB / 499.7 MB, free: 1.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.1094, allocations: 0.7166 MB / 0.4887 GB, free: 400 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.104e-05/0.1095, allocations: 29.52 kB / 0.4887 GB, free: 372 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.1095, allocations: 35.36 kB / 0.4887 GB, free: 336 kB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1095, allocations: 0 / 0.4887 GB, free: 336 kB / 378.7 MB Notification: Performance of Templates: time 0.1649/0.2744, allocations: 2.503 MB / 0.4912 GB, free: 42.65 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches