Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 180.1 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.355/1.355, 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.0007238/0.0007236, allocations: 90.59 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.2944/0.2944, allocations: 43.67 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002926, allocations: 16 kB / 432.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 58.85 MB / 491.2 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002518/0.1056, allocations: 1.594 MB / 492.8 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.107, allocations: 0.9395 MB / 493.7 MB, free: 7.219 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.1072, allocations: 7.938 kB / 493.7 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.1075, allocations: 35.83 kB / 493.7 MB, free: 7.176 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.1077, allocations: 43.78 kB / 493.8 MB, free: 7.133 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.108, allocations: 95.81 kB / 493.9 MB, free: 7.039 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.1082, allocations: 123.6 kB / 494 MB, free: 6.918 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1083, allocations: 37.73 kB / 494 MB, free: 6.879 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.1084, allocations: 47.72 kB / 494.1 MB, free: 6.832 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.599e-05/0.1085, allocations: 43.67 kB / 494.1 MB, free: 6.789 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1085, allocations: 4 kB / 494.1 MB, free: 6.785 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.206e-05/0.1086, allocations: 39.97 kB / 494.2 MB, free: 6.746 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.1087, allocations: 19.92 kB / 494.2 MB, free: 6.727 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.347e-05/0.1088, allocations: 73.31 kB / 494.3 MB, free: 6.648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.109, allocations: 131.5 kB / 494.4 MB, free: 6.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.109, allocations: 0 / 494.4 MB, free: 6.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.109, allocations: 4 kB / 494.4 MB, free: 6.516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.109, allocations: 0 / 494.4 MB, free: 6.516 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005812/0.1096, allocations: 468.5 kB / 494.9 MB, free: 6.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.1096, allocations: 8.031 kB / 494.9 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.1097, allocations: 16.75 kB / 494.9 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.1099, allocations: 216.1 kB / 495.1 MB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.11, allocations: 4.375 kB / 495.1 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.11, allocations: 16.12 kB / 495.1 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.1102, allocations: 108.2 kB / 495.2 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1103, allocations: 4 kB / 495.2 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1103, allocations: 4 kB / 495.2 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1103, allocations: 0 / 495.2 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.1104, allocations: 59.91 kB / 495.3 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.111, allocations: 0.5048 MB / 495.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.1113, allocations: 86.61 kB / 495.9 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.851e-05/0.1114, allocations: 56.75 kB / 495.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.1114, allocations: 4 kB / 495.9 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.1117, allocations: 87.31 kB / 496 MB, free: 4.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.1117, allocations: 3.938 kB / 496 MB, free: 4.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003841/0.1121, allocations: 145.4 kB / 496.2 MB, free: 4.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.1121, allocations: 59.34 kB / 496.2 MB, free: 4.484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1123, allocations: 187.5 kB / 496.4 MB, free: 4.289 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1123, allocations: 33.7 kB / 496.4 MB, free: 4.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.1124, allocations: 115.9 kB / 496.5 MB, free: 4.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.1124, allocations: 23.7 kB / 496.6 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.1124, allocations: 4 kB / 496.6 MB, free: 4.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1126, allocations: 322.8 kB / 496.9 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-05/0.1127, allocations: 31.98 kB / 496.9 MB, free: 3.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1128, allocations: 64.27 kB / 497 MB, free: 3.672 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.113, allocations: 104.2 kB / 497.1 MB, free: 3.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.113, allocations: 0 / 497.1 MB, free: 3.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002534/0.1133, allocations: 137.3 kB / 497.2 MB, free: 3.414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1133, allocations: 11.94 kB / 497.2 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1133, allocations: 0 / 497.2 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1133, allocations: 128 / 497.2 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1135, allocations: 32.39 kB / 497.3 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1135, allocations: 4 kB / 497.3 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.916e-05/0.1135, allocations: 15.84 kB / 497.3 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1136, allocations: 4 kB / 497.3 MB, free: 3.348 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.448e-05/0.1137, allocations: 133.8 kB / 497.4 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.1137, allocations: 11.84 kB / 497.4 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.1137, allocations: 17.41 kB / 497.4 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1137, allocations: 11.94 kB / 497.5 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1137, allocations: 0 / 497.5 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1138, allocations: 3.984 kB / 497.5 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.1139, allocations: 209.5 kB / 497.7 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1139, allocations: 0 / 497.7 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.691e-05/0.114, allocations: 12 kB / 497.7 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.114, allocations: 0 / 497.7 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.114, allocations: 4 kB / 497.7 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.114, allocations: 3.938 kB / 497.7 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1141, allocations: 7.922 kB / 497.7 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.1144, allocations: 184.9 kB / 497.9 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.1145, allocations: 92.89 kB / 498 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1145, allocations: 7.984 kB / 498 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.475e-05/0.1146, allocations: 8 kB / 498 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.1146, allocations: 11.98 kB / 498 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1146, allocations: 4 kB / 498 MB, free: 2.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000106/0.1147, allocations: 141.1 kB / 498.1 MB, free: 2.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1148, allocations: 0 / 498.1 MB, free: 2.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002076/0.115, allocations: 24 kB / 498.2 MB, free: 2.383 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0008501/0.1158, allocations: 479.6 kB / 498.6 MB, free: 2.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.1161, allocations: 87.89 kB / 498.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1161, allocations: 0 / 498.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.662e-05/0.1162, allocations: 44.14 kB / 498.8 MB, free: 1.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1164, allocations: 35.42 kB / 498.8 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.1169, allocations: 309.8 kB / 499.1 MB, free: 1.543 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.1172, allocations: 0.7162 MB / 499.8 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.544e-05/0.1173, allocations: 21.41 kB / 499.8 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.1173, allocations: 19.42 kB / 499.8 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1173, allocations: 0 / 499.8 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of Templates: time 0.1652/0.2825, allocations: 1.754 MB / 0.4898 GB, free: 42.69 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches