Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001246/0.001246, allocations: 178.1 kB / 16.08 MB, free: 5.531 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.355/1.355, allocations: 205.6 MB / 222.4 MB, free: 13.67 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.0007418/0.0007418, allocations: 86.27 kB / 270.8 MB, free: 13.2 MB / 234.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.2056/0.2056, allocations: 43.68 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002987, allocations: 12 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1148, allocations: 58.85 MB / 491.2 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002209/0.1171, allocations: 1.394 MB / 492.6 MB, free: 6.734 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.1185, allocations: 0.8292 MB / 493.4 MB, free: 5.879 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.1186, allocations: 3.938 kB / 493.4 MB, free: 5.875 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.1189, allocations: 35.89 kB / 493.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1191, allocations: 43.84 kB / 493.5 MB, free: 5.797 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1194, allocations: 79.83 kB / 493.6 MB, free: 5.719 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.1196, allocations: 87.7 kB / 493.6 MB, free: 5.633 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.1197, allocations: 12.23 kB / 493.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.153e-05/0.1198, allocations: 43.72 kB / 493.7 MB, free: 5.578 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.1199, allocations: 27.84 kB / 493.7 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1199, allocations: 4 kB / 493.7 MB, free: 5.547 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.12, allocations: 35.98 kB / 493.8 MB, free: 5.512 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.12, allocations: 15.92 kB / 493.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.755e-05/0.1201, allocations: 61.44 kB / 493.8 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1203, allocations: 115.8 kB / 494 MB, free: 5.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1203, allocations: 0 / 494 MB, free: 5.316 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1204, allocations: 0 / 494 MB, free: 5.316 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1204, allocations: 0 / 494 MB, free: 5.316 MB / 330.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.0006599/0.121, allocations: 391.2 kB / 494.3 MB, free: 4.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.1211, allocations: 12.03 kB / 494.3 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.1212, allocations: 8.844 kB / 494.4 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1214, allocations: 204.1 kB / 494.6 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.1215, allocations: 8.375 kB / 494.6 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.1215, allocations: 4.125 kB / 494.6 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1217, allocations: 61.61 kB / 494.6 MB, free: 4.551 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1217, allocations: 3.938 kB / 494.6 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1217, allocations: 4 kB / 494.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1217, allocations: 0 / 494.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.81e-05/0.1218, allocations: 15.98 kB / 494.7 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.1222, allocations: 292.8 kB / 494.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1224, allocations: 58.61 kB / 495 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.1225, allocations: 20.86 kB / 495 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.1225, allocations: 0 / 495 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.1227, allocations: 71.38 kB / 495.1 MB, free: 4.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 3.357e-06/0.1227, allocations: 3.984 kB / 495.1 MB, free: 4.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006029/0.1233, allocations: 169.2 kB / 495.3 MB, free: 3.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.1234, allocations: 51.41 kB / 495.3 MB, free: 3.781 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1236, allocations: 193.2 kB / 495.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1236, allocations: 25.7 kB / 495.5 MB, free: 3.555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.1237, allocations: 104.1 kB / 495.6 MB, free: 3.449 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.1237, allocations: 19.72 kB / 495.6 MB, free: 3.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.1237, allocations: 8 kB / 495.6 MB, free: 3.422 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1239, allocations: 326.8 kB / 496 MB, free: 3.094 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/0.1239, allocations: 23.98 kB / 496 MB, free: 3.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.357e-05/0.124, allocations: 37.64 kB / 496 MB, free: 3.027 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.1241, allocations: 57.64 kB / 496.1 MB, free: 2.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1241, allocations: 0 / 496.1 MB, free: 2.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001901/0.1243, allocations: 113.6 kB / 496.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1244, allocations: 4 kB / 496.2 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1244, allocations: 0 / 496.2 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1244, allocations: 0 / 496.2 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.906e-05/0.1245, allocations: 19.98 kB / 496.2 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1245, allocations: 0 / 496.2 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.1246, allocations: 7.938 kB / 496.2 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1246, allocations: 0 / 496.2 MB, free: 2.816 MB / 330.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.0001088/0.1247, allocations: 133.9 kB / 496.4 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.1247, allocations: 11.81 kB / 496.4 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.1248, allocations: 20.64 kB / 496.4 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1248, allocations: 0 / 496.4 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1248, allocations: 0 / 496.4 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1248, allocations: 11.88 kB / 496.4 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.1252, allocations: 387.3 kB / 496.8 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1253, allocations: 0 / 496.8 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.1253, allocations: 12.41 kB / 496.8 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1253, allocations: 0 / 496.8 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1253, allocations: 11.94 kB / 496.8 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1253, allocations: 0 / 496.8 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1253, allocations: 3.984 kB / 496.8 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1256, allocations: 196.3 kB / 497 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.1256, allocations: 88.92 kB / 497.1 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.1257, allocations: 11.94 kB / 497.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.1257, allocations: 7.984 kB / 497.1 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.1258, allocations: 7.938 kB / 497.1 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.1258, allocations: 4 kB / 497.1 MB, free: 1.812 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1259, allocations: 142.1 kB / 497.3 MB, free: 1.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.126, allocations: 0 / 497.3 MB, free: 1.676 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.1262, allocations: 20 kB / 497.3 MB, free: 1.656 MB / 330.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.001093/0.1273, allocations: 0.5394 MB / 497.8 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.1275, allocations: 56.11 kB / 497.9 MB, free: 1.199 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1275, allocations: 0 / 497.9 MB, free: 1.199 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.14e-05/0.1276, allocations: 32.05 kB / 497.9 MB, free: 1.168 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1279, allocations: 31.64 kB / 497.9 MB, free: 1.141 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.1284, allocations: 242.4 kB / 498.2 MB, free: 0.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1286, allocations: 0.7082 MB / 498.9 MB, free: 144 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.39e-05/0.1287, allocations: 8.891 kB / 498.9 MB, free: 136 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.1287, allocations: 19.42 kB / 498.9 MB, free: 116 kB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1287, allocations: 0 / 498.9 MB, free: 116 kB / 330.7 MB Notification: Performance of Templates: time 0.004107/0.1329, allocations: 1.615 MB / 0.4888 GB, free: 14.5 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches