Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001064, allocations: 173.9 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.361/1.361, 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.0007665/0.0007665, allocations: 98.72 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.3429/0.3429, allocations: 43.66 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003149, allocations: 20 kB / 432.3 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1038, allocations: 58.84 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.001879/0.1057, allocations: 1.402 MB / 492.6 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1069, allocations: 0.8214 MB / 493.4 MB, free: 7.785 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.107, allocations: 7.938 kB / 493.4 MB, free: 7.777 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.1073, allocations: 79.81 kB / 493.5 MB, free: 7.699 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.1075, allocations: 63.8 kB / 493.5 MB, free: 7.637 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1078, allocations: 75.84 kB / 493.6 MB, free: 7.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.1079, allocations: 99.69 kB / 493.7 MB, free: 7.465 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.108, allocations: 16.22 kB / 493.7 MB, free: 7.449 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.194e-05/0.1081, allocations: 51.75 kB / 493.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.128e-05/0.1082, allocations: 51.78 kB / 493.8 MB, free: 7.348 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1083, allocations: 0 / 493.8 MB, free: 7.348 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1084, allocations: 39.97 kB / 493.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.1084, allocations: 19.92 kB / 493.9 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.1085, allocations: 61.44 kB / 493.9 MB, free: 7.223 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.1087, allocations: 115.8 kB / 494.1 MB, free: 7.109 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1087, allocations: 0 / 494.1 MB, free: 7.109 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1087, allocations: 0 / 494.1 MB, free: 7.109 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.1087, allocations: 0 / 494.1 MB, free: 7.109 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.0004798/0.1092, allocations: 411 kB / 494.5 MB, free: 6.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1093, allocations: 12.03 kB / 494.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.1093, allocations: 12.75 kB / 494.5 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1095, allocations: 216.1 kB / 494.7 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1096, allocations: 4.375 kB / 494.7 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1096, allocations: 8.125 kB / 494.7 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1097, allocations: 53.67 kB / 494.8 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1098, allocations: 4 kB / 494.8 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1098, allocations: 0 / 494.8 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1098, allocations: 0 / 494.8 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.217e-05/0.1099, allocations: 23.92 kB / 494.8 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.1102, allocations: 284.9 kB / 495.1 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1104, allocations: 54.67 kB / 495.1 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.1105, allocations: 28.78 kB / 495.1 MB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1105, allocations: 4 kB / 495.2 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.1107, allocations: 71.33 kB / 495.2 MB, free: 5.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1107, allocations: 0 / 495.2 MB, free: 5.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005579/0.1113, allocations: 181 kB / 495.4 MB, free: 5.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.1114, allocations: 59.39 kB / 495.5 MB, free: 5.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1116, allocations: 214.4 kB / 495.7 MB, free: 5.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1116, allocations: 25.7 kB / 495.7 MB, free: 5.277 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.1117, allocations: 104.1 kB / 495.8 MB, free: 5.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.1117, allocations: 23.66 kB / 495.8 MB, free: 5.148 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.1117, allocations: 0 / 495.8 MB, free: 5.148 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1118, allocations: 326.8 kB / 496.1 MB, free: 4.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/0.1119, allocations: 23.98 kB / 496.2 MB, free: 4.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.889e-05/0.112, allocations: 37.7 kB / 496.2 MB, free: 4.754 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.1121, allocations: 65.64 kB / 496.3 MB, free: 4.684 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1121, allocations: 0 / 496.3 MB, free: 4.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001667/0.1123, allocations: 93.5 kB / 496.3 MB, free: 4.586 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1123, allocations: 4 kB / 496.4 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1123, allocations: 7.938 kB / 496.4 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1123, allocations: 0 / 496.4 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.1124, allocations: 15.98 kB / 496.4 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1124, allocations: 4.031 kB / 496.4 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.1125, allocations: 11.94 kB / 496.4 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.1125, allocations: 4 kB / 496.4 MB, free: 4.539 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 9.826e-05/0.1126, allocations: 121.8 kB / 496.5 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.1126, allocations: 11.91 kB / 496.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.1127, allocations: 21.39 kB / 496.5 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1127, allocations: 4 kB / 496.6 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1127, allocations: 0 / 496.6 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1127, allocations: 7.938 kB / 496.6 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.1131, allocations: 395.2 kB / 496.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1131, allocations: 0 / 496.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.1132, allocations: 15.92 kB / 497 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1132, allocations: 0 / 497 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1132, allocations: 7.938 kB / 497 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1132, allocations: 0 / 497 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1132, allocations: 4.172 kB / 497 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.1134, allocations: 208.3 kB / 497.2 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.1135, allocations: 92.91 kB / 497.3 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1135, allocations: 3.938 kB / 497.3 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.1136, allocations: 8.188 kB / 497.3 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.1136, allocations: 8.359 kB / 497.3 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1137, allocations: 7.938 kB / 497.3 MB, free: 3.531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1138, allocations: 160.2 kB / 497.5 MB, free: 3.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1138, allocations: 3.938 kB / 497.5 MB, free: 3.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.114, allocations: 20 kB / 497.5 MB, free: 3.352 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.001029/0.1151, allocations: 0.5384 MB / 498 MB, free: 2.949 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.1153, allocations: 47.98 kB / 498.1 MB, free: 2.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1153, allocations: 3.938 kB / 498.1 MB, free: 2.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.89e-05/0.1154, allocations: 32.22 kB / 498.1 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1157, allocations: 24.12 kB / 498.1 MB, free: 2.844 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.1161, allocations: 270.2 kB / 498.4 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.1164, allocations: 0.7082 MB / 499.1 MB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.175e-05/0.1165, allocations: 16.88 kB / 499.1 MB, free: 1.793 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.1165, allocations: 19.44 kB / 499.1 MB, free: 1.777 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1165, allocations: 0 / 499.1 MB, free: 1.777 MB / 378.7 MB Notification: Performance of Templates: time 0.004404/0.1209, allocations: 1.625 MB / 0.489 GB, free: 156 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches