Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001525, allocations: 174.8 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.7 MB / 243.9 MB, free: 8.496 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007569/0.0007568, allocations: 99.44 kB / 295.1 MB, free: 9.504 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3698/0.3698, allocations: 44.32 MB / 390.5 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005499/0.0005504, allocations: 12 kB / 463.1 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3366, allocations: 61.9 MB / 0.5127 GB, free: 37.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002465/0.3391, allocations: 1.615 MB / 0.5143 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3407, allocations: 1.218 MB / 0.5155 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.3409, allocations: 0 / 0.5155 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006885/0.3416, allocations: 192.3 kB / 0.5157 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.342, allocations: 134.8 kB / 0.5158 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006221/0.3427, allocations: 200.7 kB / 0.516 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.343, allocations: 250.2 kB / 0.5162 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3432, allocations: 21.92 kB / 0.5163 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.3434, allocations: 97.47 kB / 0.5164 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.3436, allocations: 103.3 kB / 0.5165 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.3436, allocations: 6.125 kB / 0.5165 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.3438, allocations: 39.08 kB / 0.5165 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3439, allocations: 49.94 kB / 0.5166 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.344, allocations: 103.3 kB / 0.5167 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.3444, allocations: 223.1 kB / 0.5169 GB, free: 35.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3444, allocations: 0 / 0.5169 GB, free: 35.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3444, allocations: 2.688 kB / 0.5169 GB, free: 35.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3444, allocations: 0 / 0.5169 GB, free: 35.28 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000843/0.3453, allocations: 0.505 MB / 0.5174 GB, free: 34.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3453, allocations: 9.594 kB / 0.5174 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/0.3454, allocations: 27.31 kB / 0.5174 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.3458, allocations: 283.8 kB / 0.5177 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3458, allocations: 10.75 kB / 0.5177 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.3458, allocations: 8.375 kB / 0.5177 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.3461, allocations: 104.4 kB / 0.5178 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3461, allocations: 0.75 kB / 0.5178 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.3461, allocations: 1.062 kB / 0.5178 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3461, allocations: 1.406 kB / 0.5178 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.3463, allocations: 43.72 kB / 0.5178 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.3468, allocations: 385.1 kB / 0.5182 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.3471, allocations: 115.5 kB / 0.5183 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.716e-05/0.3472, allocations: 48.16 kB / 0.5184 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.3473, allocations: 2.094 kB / 0.5184 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.3475, allocations: 113.1 kB / 0.5185 GB, free: 33.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.3475, allocations: 0 / 0.5185 GB, free: 33.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004633/0.348, allocations: 184.7 kB / 0.5186 GB, free: 33.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.348, allocations: 106.8 kB / 0.5187 GB, free: 33.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.3484, allocations: 336.3 kB / 0.5191 GB, free: 33.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3484, allocations: 27.7 kB / 0.5191 GB, free: 33.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.3485, allocations: 136.9 kB / 0.5192 GB, free: 33.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.3485, allocations: 32.53 kB / 0.5192 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.3485, allocations: 5 kB / 0.5193 GB, free: 33.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.3486, allocations: 336.3 kB / 0.5196 GB, free: 33.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/0.3487, allocations: 31.42 kB / 0.5196 GB, free: 33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3488, allocations: 78.55 kB / 0.5197 GB, free: 32.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.349, allocations: 95.62 kB / 0.5198 GB, free: 32.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.349, allocations: 0 / 0.5198 GB, free: 32.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002874/0.3493, allocations: 144.9 kB / 0.5199 GB, free: 32.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3493, allocations: 4.938 kB / 0.5199 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.3493, allocations: 1.375 kB / 0.5199 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3493, allocations: 1.219 kB / 0.5199 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.3495, allocations: 24.94 kB / 0.5199 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3495, allocations: 9.984 kB / 0.5199 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3496, allocations: 21.59 kB / 0.52 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.3496, allocations: 8.594 kB / 0.52 GB, free: 32.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001199/0.3497, allocations: 146.6 kB / 0.5201 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.3498, allocations: 22.56 kB / 0.5201 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.3498, allocations: 30.5 kB / 0.5202 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.3499, allocations: 6.875 kB / 0.5202 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3499, allocations: 0 / 0.5202 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3499, allocations: 0 / 0.5202 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.35, allocations: 250 kB / 0.5204 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3501, allocations: 192 / 0.5204 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.3501, allocations: 13.78 kB / 0.5204 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3501, allocations: 6.875 kB / 0.5204 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3501, allocations: 6.75 kB / 0.5204 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3501, allocations: 0 / 0.5204 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3501, allocations: 3.469 kB / 0.5204 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.3504, allocations: 183.4 kB / 0.5206 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.3505, allocations: 105.3 kB / 0.5207 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.3505, allocations: 0 / 0.5207 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.3506, allocations: 12.98 kB / 0.5207 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.3506, allocations: 8.562 kB / 0.5207 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3506, allocations: 9.281 kB / 0.5207 GB, free: 32.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001924/0.3508, allocations: 252.6 kB / 0.521 GB, free: 32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.212e-06/0.3509, allocations: 0 / 0.521 GB, free: 32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.3511, allocations: 42.09 kB / 0.521 GB, free: 31.98 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000866/0.352, allocations: 499.9 kB / 0.5215 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.3522, allocations: 91.2 kB / 0.5216 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3523, allocations: 0 / 0.5216 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3524, allocations: 52.86 kB / 0.5216 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3528, allocations: 55.22 kB / 0.5217 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.3534, allocations: 415.3 kB / 0.5221 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.3536, allocations: 0.7429 MB / 0.5228 GB, free: 30.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.3537, allocations: 36.47 kB / 0.5229 GB, free: 30.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.3538, allocations: 26.34 kB / 0.5229 GB, free: 30.63 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3538, allocations: 2.906 kB / 0.5229 GB, free: 30.63 MB / 378.7 MB Notification: Performance of Templates: time 0.005785/0.3595, allocations: 2.789 MB / 0.5256 GB, free: 30.35 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches