Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008965/0.0008967, allocations: 172.4 kB / 16.07 MB, free: 5.566 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.371/1.371, allocations: 205.6 MB / 222.4 MB, free: 8.934 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.0008245/0.0008246, allocations: 86.47 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.3467/0.3467, allocations: 43.68 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 12 kB / 432.3 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 58.85 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00221/0.1199, allocations: 1.402 MB / 492.6 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1211, allocations: 0.8292 MB / 493.4 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.1212, allocations: 0 / 493.4 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.1216, allocations: 47.88 kB / 493.4 MB, free: 7.723 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.1218, allocations: 51.81 kB / 493.5 MB, free: 7.672 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.122, allocations: 75.84 kB / 493.6 MB, free: 7.598 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1222, allocations: 95.64 kB / 493.7 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.343e-05/0.1223, allocations: 24.19 kB / 493.7 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.043e-05/0.1224, allocations: 43.8 kB / 493.7 MB, free: 7.438 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.1225, allocations: 27.84 kB / 493.8 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1225, allocations: 0 / 493.8 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.435e-05/0.1226, allocations: 35.98 kB / 493.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.1226, allocations: 31.78 kB / 493.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.1227, allocations: 61.39 kB / 493.9 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.1229, allocations: 135.8 kB / 494 MB, free: 7.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1229, allocations: 4 kB / 494 MB, free: 7.141 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1229, allocations: 0 / 494 MB, free: 7.141 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1229, allocations: 0 / 494 MB, free: 7.141 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.0004908/0.1234, allocations: 422.3 kB / 494.4 MB, free: 6.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1235, allocations: 8.031 kB / 494.4 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.1235, allocations: 16.75 kB / 494.5 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.1238, allocations: 220.9 kB / 494.7 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.1238, allocations: 8.312 kB / 494.7 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1238, allocations: 8.125 kB / 494.7 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.124, allocations: 57.61 kB / 494.7 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.124, allocations: 4 kB / 494.8 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.124, allocations: 0 / 494.8 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.124, allocations: 0 / 494.8 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.013e-05/0.1241, allocations: 15.98 kB / 494.8 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.1244, allocations: 304.7 kB / 495.1 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1246, allocations: 66.62 kB / 495.1 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.1247, allocations: 20.84 kB / 495.2 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1247, allocations: 3.984 kB / 495.2 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.1249, allocations: 67.39 kB / 495.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1249, allocations: 0 / 495.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000501/0.1254, allocations: 181.1 kB / 495.4 MB, free: 5.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.1254, allocations: 55.41 kB / 495.5 MB, free: 5.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.1257, allocations: 268.7 kB / 495.7 MB, free: 5.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1257, allocations: 33.7 kB / 495.7 MB, free: 5.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.1258, allocations: 112.1 kB / 495.9 MB, free: 5.102 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.1258, allocations: 27.64 kB / 495.9 MB, free: 5.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.1258, allocations: 0 / 495.9 MB, free: 5.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.1259, allocations: 334.7 kB / 496.2 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.126, allocations: 31.92 kB / 496.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.676e-05/0.126, allocations: 33.7 kB / 496.3 MB, free: 4.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1262, allocations: 53.7 kB / 496.3 MB, free: 4.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1262, allocations: 0 / 496.3 MB, free: 4.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00018/0.1263, allocations: 113.5 kB / 496.4 MB, free: 4.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1264, allocations: 4 kB / 496.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1264, allocations: 4.031 kB / 496.4 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1264, allocations: 4 kB / 496.4 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.386e-05/0.1265, allocations: 15.98 kB / 496.5 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1265, allocations: 0 / 496.5 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.1266, allocations: 7.938 kB / 496.5 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1266, allocations: 4 kB / 496.5 MB, free: 4.453 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.0001005/0.1267, allocations: 137.8 kB / 496.6 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.1267, allocations: 11.81 kB / 496.6 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.1268, allocations: 29.39 kB / 496.7 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1268, allocations: 4 kB / 496.7 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1268, allocations: 0 / 496.7 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1268, allocations: 7.875 kB / 496.7 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.1272, allocations: 399.3 kB / 497.1 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1272, allocations: 0 / 497.1 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.1272, allocations: 8 kB / 497.1 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1273, allocations: 0 / 497.1 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1273, allocations: 15.92 kB / 497.1 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1273, allocations: 4.031 kB / 497.1 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1273, allocations: 0 / 497.1 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.1275, allocations: 204.1 kB / 497.3 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.1276, allocations: 93.3 kB / 497.4 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.1276, allocations: 7.922 kB / 497.4 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.1277, allocations: 8 kB / 497.4 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.1277, allocations: 12 kB / 497.4 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1277, allocations: 3.984 kB / 497.4 MB, free: 3.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001638/0.1279, allocations: 204.5 kB / 497.6 MB, free: 3.223 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1279, allocations: 0 / 497.6 MB, free: 3.223 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.1282, allocations: 31.98 kB / 497.6 MB, free: 3.191 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.001026/0.1292, allocations: 0.5183 MB / 498.2 MB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.1294, allocations: 59.86 kB / 498.2 MB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1294, allocations: 0 / 498.2 MB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.854e-05/0.1295, allocations: 35.92 kB / 498.2 MB, free: 2.711 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1298, allocations: 23.97 kB / 498.3 MB, free: 2.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.1303, allocations: 327.1 kB / 498.6 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.1307, allocations: 0.7199 MB / 499.3 MB, free: 1.594 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.801e-05/0.1307, allocations: 8.891 kB / 499.3 MB, free: 1.586 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.1308, allocations: 19.42 kB / 499.3 MB, free: 1.566 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1308, allocations: 0 / 499.3 MB, free: 1.566 MB / 378.7 MB Notification: Performance of Templates: time 0.1809/0.3117, allocations: 1.651 MB / 0.4892 GB, free: 42.69 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches