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.00105/0.00105, allocations: 107 kB / 17.75 MB, free: 5.32 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.0009992/0.0009993, allocations: 191 kB / 18.68 MB, free: 4.395 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.276/1.276, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.1979/0.1979, allocations: 44.17 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 68.08 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3484, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.00304/0.3515, allocations: 1.939 MB / 0.5208 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.3531, allocations: 1.047 MB / 0.5218 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.3533, allocations: 1.094 kB / 0.5218 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007734/0.354, allocations: 195.2 kB / 0.522 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.3544, allocations: 160.3 kB / 0.5222 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.355, allocations: 228 kB / 0.5224 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.3554, allocations: 250.6 kB / 0.5226 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3555, allocations: 23.86 kB / 0.5227 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.3557, allocations: 106.9 kB / 0.5228 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3559, allocations: 108.3 kB / 0.5229 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.3559, allocations: 9.438 kB / 0.5229 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.3561, allocations: 54.34 kB / 0.5229 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.225e-05/0.3562, allocations: 53.36 kB / 0.523 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.997e-05/0.3563, allocations: 81.72 kB / 0.523 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.3566, allocations: 232.5 kB / 0.5233 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3566, allocations: 5.156 kB / 0.5233 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3566, allocations: 0 / 0.5233 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3566, allocations: 4 kB / 0.5233 GB, free: 0.8867 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.0006643/0.3573, allocations: 0.5365 MB / 0.5238 GB, free: 400 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.3573, allocations: 9.656 kB / 0.5238 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.3574, allocations: 22.8 kB / 0.5238 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.3577, allocations: 288.2 kB / 0.5241 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.3577, allocations: 8.062 kB / 0.5241 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.3577, allocations: 11.59 kB / 0.5241 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.3579, allocations: 107.7 kB / 0.5242 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3579, allocations: 0 / 0.5242 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.358, allocations: 1.797 kB / 0.5242 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.358, allocations: 1.188 kB / 0.5242 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.3581, allocations: 47.31 kB / 0.5243 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.3586, allocations: 383.6 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.3589, allocations: 120.7 kB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.359, allocations: 39.5 kB / 0.5248 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.359, allocations: 7.328 kB / 0.5248 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.3593, allocations: 112.5 kB / 0.5249 GB, free: 15.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.3593, allocations: 0 / 0.5249 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000482/0.3598, allocations: 182.4 kB / 0.5251 GB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.3598, allocations: 108.8 kB / 0.5252 GB, free: 15.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.3602, allocations: 329.2 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3602, allocations: 32.2 kB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/0.3604, allocations: 133.1 kB / 0.5257 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.3604, allocations: 39.84 kB / 0.5257 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.3605, allocations: 30.97 kB / 0.5257 GB, free: 14.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3606, allocations: 337.3 kB / 0.526 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.61e-05/0.3607, allocations: 33.94 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.3608, allocations: 76.09 kB / 0.5262 GB, free: 14.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.361, allocations: 94.66 kB / 0.5262 GB, free: 14.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.361, allocations: 1.438 kB / 0.5262 GB, free: 14.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002911/0.3613, allocations: 158.2 kB / 0.5264 GB, free: 14.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3614, allocations: 9.344 kB / 0.5264 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3614, allocations: 1.125 kB / 0.5264 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3614, allocations: 1.188 kB / 0.5264 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.3615, allocations: 25.05 kB / 0.5264 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3615, allocations: 6.578 kB / 0.5264 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.188e-05/0.3616, allocations: 14.83 kB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.3617, allocations: 8.5 kB / 0.5265 GB, free: 14.33 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.0001435/0.3618, allocations: 155.9 kB / 0.5266 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.3619, allocations: 23.3 kB / 0.5266 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/0.3619, allocations: 27.53 kB / 0.5267 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3619, allocations: 1.375 kB / 0.5267 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3619, allocations: 2.172 kB / 0.5267 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3619, allocations: 1.719 kB / 0.5267 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.3622, allocations: 242.4 kB / 0.5269 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3622, allocations: 2.188 kB / 0.5269 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.3623, allocations: 10.92 kB / 0.5269 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3623, allocations: 5.344 kB / 0.5269 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3623, allocations: 2.719 kB / 0.5269 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3623, allocations: 1.281 kB / 0.5269 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3623, allocations: 1.344 kB / 0.5269 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.3626, allocations: 183.8 kB / 0.5271 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.3627, allocations: 96.39 kB / 0.5272 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.3627, allocations: 15.31 kB / 0.5272 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.3628, allocations: 6.781 kB / 0.5272 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.3629, allocations: 10.7 kB / 0.5272 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.3629, allocations: 14.41 kB / 0.5272 GB, free: 13.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002464/0.3631, allocations: 246 kB / 0.5275 GB, free: 13.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3631, allocations: 0 / 0.5275 GB, free: 13.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.3634, allocations: 36.84 kB / 0.5275 GB, free: 13.54 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.0009737/0.3644, allocations: 429.9 kB / 0.5279 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002945/0.3647, allocations: 96.08 kB / 0.528 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3647, allocations: 0 / 0.528 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3648, allocations: 43.73 kB / 0.528 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.3653, allocations: 60.53 kB / 0.5281 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000676/0.366, allocations: 373 kB / 0.5285 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3663, allocations: 0.7461 MB / 0.5292 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.3664, allocations: 32.56 kB / 0.5292 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.3665, allocations: 25.92 kB / 0.5292 GB, free: 12.22 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3665, allocations: 0 / 0.5292 GB, free: 12.22 MB / 398.1 MB Notification: Performance of Templates: time 0.006676/0.3732, allocations: 2.976 MB / 0.5321 GB, free: 10.73 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