Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 172.2 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.399/1.399, allocations: 205.6 MB / 222.4 MB, free: 8.848 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.0007805/0.0007805, allocations: 99.44 kB / 270.8 MB, free: 8.117 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.3188/0.3188, allocations: 43.66 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003072, allocations: 12 kB / 432.3 MB, free: 5.008 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1028, allocations: 58.85 MB / 491.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.001784/0.1046, allocations: 1.48 MB / 492.6 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1058, allocations: 0.9071 MB / 493.6 MB, free: 7.605 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.1059, allocations: 0 / 493.6 MB, free: 7.605 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.1063, allocations: 299.4 kB / 493.8 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.1066, allocations: 195.5 kB / 494 MB, free: 7.121 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.107, allocations: 135.8 kB / 494.2 MB, free: 6.988 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.1073, allocations: 231.4 kB / 494.4 MB, free: 6.762 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.686e-05/0.1074, allocations: 17.53 kB / 494.4 MB, free: 6.738 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.1075, allocations: 123.5 kB / 494.5 MB, free: 6.617 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.1077, allocations: 187.5 kB / 494.7 MB, free: 6.434 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.1078, allocations: 4 kB / 494.7 MB, free: 6.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.412e-05/0.1079, allocations: 28 kB / 494.8 MB, free: 6.402 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.108, allocations: 135.6 kB / 494.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.1081, allocations: 176.4 kB / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.1085, allocations: 354.9 kB / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1085, allocations: 4 kB / 495.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1085, allocations: 0 / 495.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1085, allocations: 0 / 495.4 MB, free: 5.738 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.0007532/0.1093, allocations: 0.6611 MB / 496.1 MB, free: 5.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1093, allocations: 12.03 kB / 496.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.1094, allocations: 48.28 kB / 496.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.1099, allocations: 443.8 kB / 496.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.1099, allocations: 20.3 kB / 496.6 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.1099, allocations: 4.125 kB / 496.6 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1101, allocations: 87.36 kB / 496.7 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1101, allocations: 0 / 496.7 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1101, allocations: 3.984 kB / 496.7 MB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1102, allocations: 0 / 496.7 MB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.785e-05/0.1103, allocations: 31.92 kB / 496.7 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.1106, allocations: 378.3 kB / 497.1 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.1109, allocations: 105.2 kB / 497.2 MB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.105e-05/0.111, allocations: 45.62 kB / 497.2 MB, free: 3.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.111, allocations: 4 kB / 497.2 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.1113, allocations: 109 kB / 497.3 MB, free: 3.617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1113, allocations: 0 / 497.3 MB, free: 3.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004189/0.1117, allocations: 192.9 kB / 497.5 MB, free: 3.422 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.1118, allocations: 93.03 kB / 497.6 MB, free: 3.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009504/0.1127, allocations: 1.022 MB / 498.6 MB, free: 2.277 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1128, allocations: 29.7 kB / 498.7 MB, free: 2.242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.1129, allocations: 236 kB / 498.9 MB, free: 2.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.113, allocations: 35.62 kB / 498.9 MB, free: 1.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.113, allocations: 0 / 498.9 MB, free: 1.973 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1131, allocations: 366.8 kB / 499.3 MB, free: 1.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/0.1132, allocations: 23.98 kB / 499.3 MB, free: 1.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.29e-05/0.1133, allocations: 63.41 kB / 499.4 MB, free: 1.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1135, allocations: 87.86 kB / 499.5 MB, free: 1.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1135, allocations: 0 / 499.5 MB, free: 1.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002711/0.1138, allocations: 176.9 kB / 499.6 MB, free: 1.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1138, allocations: 4 kB / 499.6 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1138, allocations: 4 kB / 499.6 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1138, allocations: 0 / 499.6 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1139, allocations: 27.92 kB / 499.7 MB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.114, allocations: 4 kB / 499.7 MB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.139e-05/0.1141, allocations: 7.938 kB / 499.7 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1141, allocations: 4 kB / 499.7 MB, free: 1.18 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 0.0002002/0.1143, allocations: 237.6 kB / 499.9 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.1143, allocations: 51.34 kB / 500 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.333e-05/0.1144, allocations: 56 kB / 0.4883 GB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1144, allocations: 7.938 kB / 0.4883 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1144, allocations: 0 / 0.4883 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1144, allocations: 0 / 0.4883 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.1148, allocations: 341.4 kB / 0.4886 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1148, allocations: 3.938 kB / 0.4886 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.1148, allocations: 8 kB / 0.4886 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1148, allocations: 0 / 0.4886 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1148, allocations: 3.984 kB / 0.4886 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1148, allocations: 8 kB / 0.4887 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1148, allocations: 0 / 0.4887 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.1152, allocations: 205.1 kB / 0.4888 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1153, allocations: 144.4 kB / 0.489 GB, free: 36 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.1153, allocations: 8 kB / 0.489 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/0.1154, allocations: 4 kB / 0.489 GB, free: 24 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.1155, allocations: 11.98 kB / 0.489 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.1155, allocations: 8 kB / 0.489 GB, free: 4 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1674/0.2829, allocations: 0.7597 MB / 0.4898 GB, free: 43.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2829, allocations: 0 / 0.4898 GB, free: 43.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003388/0.2833, allocations: 47 kB / 0.4898 GB, free: 43.48 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.0008463/0.2841, allocations: 474.4 kB / 0.4903 GB, free: 43.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.2844, allocations: 82.73 kB / 0.4903 GB, free: 43.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2844, allocations: 0 / 0.4903 GB, free: 43.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.938e-05/0.2845, allocations: 36.47 kB / 0.4904 GB, free: 43.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.285, allocations: 74.73 kB / 0.4904 GB, free: 43.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.2861, allocations: 0.9593 MB / 0.4914 GB, free: 42.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.2864, allocations: 0.8448 MB / 0.4922 GB, free: 42.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.2866, allocations: 55.95 kB / 0.4923 GB, free: 42.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.2866, allocations: 28.48 kB / 0.4923 GB, free: 42.19 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.2866, allocations: 0 / 0.4923 GB, free: 42.19 MB / 378.7 MB Notification: Performance of Templates: time 0.007843/0.2945, allocations: 3.472 MB / 0.4957 GB, free: 41.91 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches