Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 172.3 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.455/1.455, 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.0007947/0.0007947, allocations: 92.33 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.3191/0.3191, allocations: 43.66 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 15.98 kB / 432.3 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1095, allocations: 58.84 MB / 491.2 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002028/0.1116, allocations: 1.402 MB / 492.6 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1133, allocations: 1.487 MB / 494.1 MB, free: 6.863 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.1134, allocations: 4 kB / 494.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.1137, allocations: 35.83 kB / 494.1 MB, free: 6.824 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.1139, allocations: 43.83 kB / 494.1 MB, free: 6.781 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.1142, allocations: 79.84 kB / 494.2 MB, free: 6.703 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1143, allocations: 87.7 kB / 494.3 MB, free: 6.617 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.1144, allocations: 16.2 kB / 494.3 MB, free: 6.602 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.1145, allocations: 35.8 kB / 494.4 MB, free: 6.566 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.1146, allocations: 43.77 kB / 494.4 MB, free: 6.523 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.1147, allocations: 0 / 494.4 MB, free: 6.523 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1148, allocations: 55.97 kB / 494.4 MB, free: 6.469 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.1148, allocations: 15.92 kB / 494.5 MB, free: 6.453 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.455e-05/0.1149, allocations: 49.52 kB / 494.5 MB, free: 6.398 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1151, allocations: 119.9 kB / 494.6 MB, free: 6.281 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1151, allocations: 0 / 494.6 MB, free: 6.281 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1151, allocations: 4 kB / 494.6 MB, free: 6.277 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1151, allocations: 0 / 494.6 MB, free: 6.277 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.000459/0.1156, allocations: 391.2 kB / 495 MB, free: 5.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1156, allocations: 15.97 kB / 495 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.1157, allocations: 8.844 kB / 495 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1159, allocations: 208 kB / 495.2 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1159, allocations: 4.359 kB / 495.2 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1159, allocations: 8.125 kB / 495.3 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1161, allocations: 63.39 kB / 495.3 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1161, allocations: 4 kB / 495.3 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1161, allocations: 0 / 495.3 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1161, allocations: 4 kB / 495.3 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.002e-05/0.1162, allocations: 27.86 kB / 495.4 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.1165, allocations: 276.9 kB / 495.6 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.1167, allocations: 54.69 kB / 495.7 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.1168, allocations: 28.84 kB / 495.7 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1168, allocations: 3.938 kB / 495.7 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.117, allocations: 71.33 kB / 495.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.117, allocations: 0 / 495.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004763/0.1175, allocations: 169.2 kB / 495.9 MB, free: 4.789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.1175, allocations: 81.11 kB / 496 MB, free: 4.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1177, allocations: 157.1 kB / 496.2 MB, free: 4.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1177, allocations: 25.7 kB / 496.2 MB, free: 4.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.1177, allocations: 96.05 kB / 496.3 MB, free: 4.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1178, allocations: 27.72 kB / 496.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.1178, allocations: 4 kB / 496.3 MB, free: 4.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1179, allocations: 322.8 kB / 496.6 MB, free: 4.047 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.1179, allocations: 16 kB / 496.7 MB, free: 4.031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-05/0.118, allocations: 50.55 kB / 496.7 MB, free: 3.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1181, allocations: 61.69 kB / 496.8 MB, free: 3.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1181, allocations: 0 / 496.8 MB, free: 3.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001675/0.1183, allocations: 101.5 kB / 496.9 MB, free: 3.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1183, allocations: 4 kB / 496.9 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1183, allocations: 7.938 kB / 496.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1184, allocations: 0 / 496.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.1184, allocations: 12 kB / 496.9 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1185, allocations: 4.031 kB / 496.9 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.1185, allocations: 11.92 kB / 496.9 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1185, allocations: 4 kB / 496.9 MB, free: 3.758 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 8.65e-05/0.1186, allocations: 117.8 kB / 497 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.1187, allocations: 11.91 kB / 497 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.1187, allocations: 12.7 kB / 497 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1187, allocations: 4 kB / 497.1 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1187, allocations: 0 / 497.1 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1187, allocations: 7.922 kB / 497.1 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.1191, allocations: 387.3 kB / 497.4 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1192, allocations: 0 / 497.4 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.1192, allocations: 15.92 kB / 497.5 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1192, allocations: 3.938 kB / 497.5 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1192, allocations: 11.94 kB / 497.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1192, allocations: 0 / 497.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1192, allocations: 0 / 497.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.1195, allocations: 200.5 kB / 497.7 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.1195, allocations: 89 kB / 497.8 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.1196, allocations: 12.25 kB / 497.8 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.1196, allocations: 8 kB / 497.8 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.1197, allocations: 3.984 kB / 497.8 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.1197, allocations: 8 kB / 497.8 MB, free: 2.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.604e-05/0.1198, allocations: 119.2 kB / 497.9 MB, free: 2.664 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1198, allocations: 3.938 kB / 497.9 MB, free: 2.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.12, allocations: 32 kB / 497.9 MB, free: 2.629 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.001082/0.1211, allocations: 0.5798 MB / 498.5 MB, free: 2.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.1213, allocations: 51.98 kB / 498.6 MB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1213, allocations: 3.938 kB / 498.6 MB, free: 2.125 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.1214, allocations: 27.98 kB / 498.6 MB, free: 2.098 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1217, allocations: 23.98 kB / 498.6 MB, free: 2.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.1221, allocations: 218.1 kB / 498.8 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1223, allocations: 0.6965 MB / 499.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.099e-05/0.1224, allocations: 21.17 kB / 499.5 MB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.1225, allocations: 23.42 kB / 499.6 MB, free: 1.062 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1225, allocations: 0 / 499.6 MB, free: 1.062 MB / 378.7 MB Notification: Performance of Templates: time 0.1784/0.3009, allocations: 1.854 MB / 0.4897 GB, free: 42.62 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches