Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 180.5 kB / 16.08 MB, free: 5.484 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.459/1.459, allocations: 205.6 MB / 222.4 MB, free: 8.93 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.0008168/0.0008171, allocations: 95.64 kB / 270.8 MB, free: 8.121 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.3495/0.3495, allocations: 43.67 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 8 kB / 432.3 MB, free: 5.012 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1113, allocations: 58.84 MB / 491.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.001988/0.1133, allocations: 1.402 MB / 492.6 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1144, allocations: 0.8253 MB / 493.4 MB, free: 7.762 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.1145, allocations: 3.938 kB / 493.4 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.1148, allocations: 75.83 kB / 493.5 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.115, allocations: 67.8 kB / 493.5 MB, free: 7.617 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1153, allocations: 79.83 kB / 493.6 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.1155, allocations: 107.7 kB / 493.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.1156, allocations: 8.219 kB / 493.7 MB, free: 7.426 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.556e-05/0.1157, allocations: 51.72 kB / 493.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.1157, allocations: 55.81 kB / 493.8 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1158, allocations: 8 kB / 493.8 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-05/0.1159, allocations: 35.98 kB / 493.9 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.1159, allocations: 23.91 kB / 493.9 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.116, allocations: 65.38 kB / 494 MB, free: 7.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.1162, allocations: 107.9 kB / 494.1 MB, free: 7.078 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1162, allocations: 4 kB / 494.1 MB, free: 7.074 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1162, allocations: 0 / 494.1 MB, free: 7.074 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1162, allocations: 0 / 494.1 MB, free: 7.074 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.0004867/0.1167, allocations: 410.9 kB / 494.5 MB, free: 6.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1167, allocations: 16.03 kB / 494.5 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.1168, allocations: 12.75 kB / 494.5 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.117, allocations: 212.1 kB / 494.7 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.117, allocations: 8.375 kB / 494.7 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.1171, allocations: 12.02 kB / 494.7 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.1172, allocations: 53.67 kB / 494.8 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1172, allocations: 0 / 494.8 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1173, allocations: 0 / 494.8 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1173, allocations: 4 kB / 494.8 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.557e-05/0.1173, allocations: 23.92 kB / 494.8 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.1177, allocations: 296.8 kB / 495.1 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1179, allocations: 50.69 kB / 495.1 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.1179, allocations: 20.84 kB / 495.2 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.118, allocations: 3.938 kB / 495.2 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.1181, allocations: 71.39 kB / 495.2 MB, free: 5.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1181, allocations: 0 / 495.2 MB, free: 5.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005115/0.1187, allocations: 177.1 kB / 495.4 MB, free: 5.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.1187, allocations: 51.41 kB / 495.5 MB, free: 5.496 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.1189, allocations: 218.7 kB / 495.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1189, allocations: 25.7 kB / 495.7 MB, free: 5.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.119, allocations: 116.1 kB / 495.8 MB, free: 5.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.1191, allocations: 23.66 kB / 495.8 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.1191, allocations: 4 kB / 495.8 MB, free: 5.094 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1192, allocations: 326.8 kB / 496.2 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.802e-05/0.1193, allocations: 23.98 kB / 496.2 MB, free: 4.742 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.361e-05/0.1193, allocations: 33.7 kB / 496.2 MB, free: 4.703 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1194, allocations: 69.69 kB / 496.3 MB, free: 4.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1195, allocations: 0 / 496.3 MB, free: 4.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001805/0.1196, allocations: 101.5 kB / 496.4 MB, free: 4.523 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1197, allocations: 4 kB / 496.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1197, allocations: 0 / 496.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1197, allocations: 0 / 496.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.1198, allocations: 23.92 kB / 496.4 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1198, allocations: 0 / 496.4 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.1198, allocations: 7.938 kB / 496.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1199, allocations: 4.031 kB / 496.4 MB, free: 4.484 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.0001032/0.12, allocations: 130.4 kB / 496.6 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.12, allocations: 15.81 kB / 496.6 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.1201, allocations: 17.39 kB / 496.6 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1201, allocations: 4 kB / 496.6 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1201, allocations: 0 / 496.6 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.1201, allocations: 3.938 kB / 496.6 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.1205, allocations: 395.7 kB / 497 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1205, allocations: 0 / 497 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.1206, allocations: 19.94 kB / 497 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1206, allocations: 3.984 kB / 497 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1206, allocations: 7.938 kB / 497 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1206, allocations: 0 / 497 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1206, allocations: 0 / 497 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.1208, allocations: 200.2 kB / 497.2 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.1209, allocations: 92.92 kB / 497.3 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.1209, allocations: 11.92 kB / 497.3 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.121, allocations: 0 / 497.3 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.121, allocations: 11.94 kB / 497.3 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.121, allocations: 7.984 kB / 497.3 MB, free: 3.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1212, allocations: 168.3 kB / 497.5 MB, free: 3.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1212, allocations: 192 / 497.5 MB, free: 3.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.1214, allocations: 24 kB / 497.5 MB, free: 3.285 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.0009871/0.1224, allocations: 0.5417 MB / 498.1 MB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.1226, allocations: 55.91 kB / 498.1 MB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1226, allocations: 4.062 kB / 498.1 MB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.793e-05/0.1227, allocations: 31.98 kB / 498.1 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.123, allocations: 23.98 kB / 498.2 MB, free: 2.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.1235, allocations: 286 kB / 498.4 MB, free: 2.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1237, allocations: 0.7121 MB / 499.2 MB, free: 1.719 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.797e-05/0.1238, allocations: 17.17 kB / 499.2 MB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.1238, allocations: 15.44 kB / 499.2 MB, free: 1.688 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1239, allocations: 4 kB / 499.2 MB, free: 1.684 MB / 378.7 MB Notification: Performance of Templates: time 0.004196/0.1281, allocations: 1.642 MB / 0.4891 GB, free: 44 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches