Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008829/0.000883, allocations: 173.9 kB / 16.08 MB, free: 5.73 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.376/1.376, 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.0007454/0.0007454, allocations: 98.55 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.3315/0.3315, allocations: 43.68 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003354, allocations: 12 kB / 432.3 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1087, allocations: 58.84 MB / 491.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002088/0.1108, allocations: 1.405 MB / 492.6 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1124, allocations: 0.8331 MB / 493.4 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.1125, allocations: 0 / 493.4 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.1129, allocations: 103.7 kB / 493.5 MB, free: 7.426 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.1132, allocations: 67.78 kB / 493.6 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.1134, allocations: 87.83 kB / 493.7 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.1136, allocations: 99.69 kB / 493.8 MB, free: 7.176 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1137, allocations: 16.2 kB / 493.8 MB, free: 7.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.93e-05/0.1138, allocations: 47.78 kB / 493.8 MB, free: 7.113 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.699e-05/0.1139, allocations: 55.8 kB / 493.9 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1139, allocations: 4 kB / 493.9 MB, free: 7.055 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-05/0.1141, allocations: 36 kB / 493.9 MB, free: 7.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.1141, allocations: 19.86 kB / 493.9 MB, free: 7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.1142, allocations: 73.36 kB / 494 MB, free: 6.922 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.1144, allocations: 119.8 kB / 494.1 MB, free: 6.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1144, allocations: 0 / 494.1 MB, free: 6.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1144, allocations: 0 / 494.1 MB, free: 6.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1144, allocations: 0 / 494.1 MB, free: 6.805 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.0005345/0.115, allocations: 418.9 kB / 494.5 MB, free: 6.348 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.115, allocations: 12.03 kB / 494.5 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.1151, allocations: 8.844 kB / 494.5 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1153, allocations: 220.7 kB / 494.8 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1153, allocations: 4.375 kB / 494.8 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.1154, allocations: 8.125 kB / 494.8 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1155, allocations: 49.67 kB / 494.8 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1156, allocations: 4 kB / 494.8 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1156, allocations: 4 kB / 494.8 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1156, allocations: 3.938 kB / 494.8 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.512e-05/0.1157, allocations: 19.98 kB / 494.9 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.116, allocations: 296.8 kB / 495.1 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.1162, allocations: 58.61 kB / 495.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.1163, allocations: 28.83 kB / 495.2 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1163, allocations: 0 / 495.2 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.1165, allocations: 67.39 kB / 495.3 MB, free: 5.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.1165, allocations: 0 / 495.3 MB, free: 5.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004943/0.117, allocations: 177.1 kB / 495.5 MB, free: 5.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.117, allocations: 55.34 kB / 495.5 MB, free: 5.215 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1172, allocations: 242.2 kB / 495.8 MB, free: 4.969 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1173, allocations: 29.7 kB / 495.8 MB, free: 4.934 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.1173, allocations: 108.1 kB / 495.9 MB, free: 4.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.1174, allocations: 27.64 kB / 495.9 MB, free: 4.797 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.1174, allocations: 4 kB / 495.9 MB, free: 4.793 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1175, allocations: 334.8 kB / 496.3 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.426e-05/0.1175, allocations: 19.98 kB / 496.3 MB, free: 4.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.1176, allocations: 33.72 kB / 496.3 MB, free: 4.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1177, allocations: 57.69 kB / 496.4 MB, free: 4.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1177, allocations: 0 / 496.4 MB, free: 4.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001751/0.1179, allocations: 113.4 kB / 496.5 MB, free: 4.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1179, allocations: 4 kB / 496.5 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1179, allocations: 0 / 496.5 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.118, allocations: 0 / 496.5 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.118, allocations: 16 kB / 496.5 MB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1181, allocations: 3.938 kB / 496.5 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.1181, allocations: 7.922 kB / 496.5 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1181, allocations: 4 kB / 496.5 MB, free: 4.184 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.0001081/0.1182, allocations: 133.8 kB / 496.6 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.1183, allocations: 11.94 kB / 496.7 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.1183, allocations: 17.78 kB / 496.7 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1183, allocations: 0 / 496.7 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1183, allocations: 0 / 496.7 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.1183, allocations: 7.922 kB / 496.7 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.1188, allocations: 407.2 kB / 497.1 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1188, allocations: 0 / 497.1 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.1188, allocations: 11.94 kB / 497.1 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1189, allocations: 4.031 kB / 497.1 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.1189, allocations: 11.92 kB / 497.1 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1189, allocations: 0 / 497.1 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1189, allocations: 0 / 497.1 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.1191, allocations: 200.2 kB / 497.3 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.1192, allocations: 88.92 kB / 497.4 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.1192, allocations: 11.92 kB / 497.4 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.1193, allocations: 8 kB / 497.4 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.1193, allocations: 4.188 kB / 497.4 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.1193, allocations: 7.984 kB / 497.4 MB, free: 3.172 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1195, allocations: 184.2 kB / 497.6 MB, free: 2.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1195, allocations: 0 / 497.6 MB, free: 2.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.1197, allocations: 27.98 kB / 497.6 MB, free: 2.965 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.001016/0.1208, allocations: 0.5316 MB / 498.2 MB, free: 2.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.1209, allocations: 63.84 kB / 498.2 MB, free: 2.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1209, allocations: 0 / 498.2 MB, free: 2.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.421e-05/0.121, allocations: 27.92 kB / 498.2 MB, free: 2.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.1213, allocations: 36.09 kB / 498.3 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.1218, allocations: 298.5 kB / 498.6 MB, free: 2.121 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1221, allocations: 0.7082 MB / 499.3 MB, free: 1.387 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.643e-05/0.1221, allocations: 21.17 kB / 499.3 MB, free: 1.363 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.1222, allocations: 19.44 kB / 499.3 MB, free: 1.344 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1222, allocations: 0 / 499.3 MB, free: 1.344 MB / 378.7 MB Notification: Performance of Templates: time 0.2009/0.323, allocations: 1.632 MB / 0.4892 GB, free: 42.66 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches