Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 117.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 184.2 kB / 18.71 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1934/0.1934, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 63.89 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3357, allocations: 60.81 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.00289/0.3387, allocations: 1.953 MB / 0.5209 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3402, allocations: 1.044 MB / 0.5219 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3403, allocations: 5.094 kB / 0.5219 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007902/0.3411, allocations: 204.4 kB / 0.5221 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004001/0.3415, allocations: 155.5 kB / 0.5222 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006721/0.3422, allocations: 228.2 kB / 0.5224 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003612/0.3425, allocations: 254.4 kB / 0.5227 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.3427, allocations: 28.25 kB / 0.5227 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.3429, allocations: 110.1 kB / 0.5228 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.343, allocations: 100.2 kB / 0.5229 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.3431, allocations: 9.594 kB / 0.5229 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.3433, allocations: 61.92 kB / 0.523 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.3434, allocations: 53.8 kB / 0.523 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.655e-05/0.3435, allocations: 81.62 kB / 0.5231 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.3439, allocations: 241.2 kB / 0.5233 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3439, allocations: 0.75 kB / 0.5233 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3439, allocations: 0 / 0.5233 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.3439, allocations: 0.9375 kB / 0.5233 GB, free: 0.8789 MB / 382.1 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.0007942/0.3447, allocations: 0.5446 MB / 0.5239 GB, free: 380 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3448, allocations: 14.66 kB / 0.5239 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.3448, allocations: 23.58 kB / 0.5239 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.3451, allocations: 283.6 kB / 0.5242 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3452, allocations: 10.62 kB / 0.5242 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3452, allocations: 9.016 kB / 0.5242 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.3454, allocations: 100.6 kB / 0.5243 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3454, allocations: 0 / 0.5243 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3454, allocations: 6.25 kB / 0.5243 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3454, allocations: 0 / 0.5243 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.3456, allocations: 43.66 kB / 0.5243 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.3461, allocations: 374.9 kB / 0.5247 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.3465, allocations: 124.5 kB / 0.5248 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3466, allocations: 45.05 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.3467, allocations: 2.344 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.3469, allocations: 116.5 kB / 0.525 GB, free: 15.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.3469, allocations: 3.938 kB / 0.525 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005429/0.3475, allocations: 174.2 kB / 0.5251 GB, free: 15.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.3476, allocations: 109.4 kB / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.3481, allocations: 333.3 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.3482, allocations: 28.45 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3483, allocations: 145.7 kB / 0.5257 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.3484, allocations: 26.22 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.3485, allocations: 31.53 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3486, allocations: 341.3 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.693e-05/0.3487, allocations: 29.09 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3489, allocations: 81.67 kB / 0.5262 GB, free: 14.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.3491, allocations: 99.38 kB / 0.5263 GB, free: 14.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3491, allocations: 3.938 kB / 0.5263 GB, free: 14.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002942/0.3494, allocations: 150.7 kB / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3494, allocations: 5.438 kB / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3494, allocations: 6.188 kB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3495, allocations: 1.344 kB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3496, allocations: 25.47 kB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3496, allocations: 2.234 kB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.371e-05/0.3497, allocations: 6.641 kB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.3497, allocations: 12.25 kB / 0.5265 GB, free: 14.32 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * 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.0001458/0.3499, allocations: 145.7 kB / 0.5267 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.3499, allocations: 33.7 kB / 0.5267 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/0.35, allocations: 31.19 kB / 0.5267 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.35, allocations: 3.016 kB / 0.5267 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.35, allocations: 0 / 0.5267 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.35, allocations: 2.375 kB / 0.5267 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.3502, allocations: 258.6 kB / 0.527 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3503, allocations: 1.469 kB / 0.527 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.3503, allocations: 8.047 kB / 0.527 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3503, allocations: 1.281 kB / 0.527 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3503, allocations: 2.438 kB / 0.527 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.3503, allocations: 5.469 kB / 0.527 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3503, allocations: 1.062 kB / 0.527 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.3506, allocations: 184.4 kB / 0.5272 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.3507, allocations: 100.7 kB / 0.5273 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.3508, allocations: 2.734 kB / 0.5273 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.3508, allocations: 10.2 kB / 0.5273 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.3509, allocations: 7.578 kB / 0.5273 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.3509, allocations: 14.12 kB / 0.5273 GB, free: 13.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002404/0.3512, allocations: 249.7 kB / 0.5275 GB, free: 13.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3512, allocations: 0 / 0.5275 GB, free: 13.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3514, allocations: 39.58 kB / 0.5276 GB, free: 13.52 MB / 398.1 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.0009376/0.3524, allocations: 416.7 kB / 0.528 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002534/0.3526, allocations: 93.11 kB / 0.5281 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3527, allocations: 128 / 0.5281 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.3528, allocations: 51.42 kB / 0.5281 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3532, allocations: 68.5 kB / 0.5282 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006072/0.3538, allocations: 369.4 kB / 0.5285 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.3541, allocations: 0.7491 MB / 0.5293 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.583e-05/0.3542, allocations: 32.67 kB / 0.5293 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.3542, allocations: 25.81 kB / 0.5293 GB, free: 12.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3543, allocations: 3.938 kB / 0.5293 GB, free: 12.2 MB / 398.1 MB Notification: Performance of Templates: time 0.006517/0.3608, allocations: 2.992 MB / 0.5322 GB, free: 10.7 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches