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.001218/0.001218, allocations: 113.8 kB / 17.78 MB, free: 5.305 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.001178/0.001178, allocations: 179.1 kB / 18.71 MB, free: 4.383 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.404/1.404, allocations: 222.9 MB / 242.4 MB, free: 15.13 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.2328/0.2328, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 71.89 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3776, allocations: 60.83 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003595/0.3811, allocations: 1.946 MB / 0.5209 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.3832, allocations: 1.051 MB / 0.5219 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3833, allocations: 5.906 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007848/0.3841, allocations: 208.1 kB / 0.5221 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.3845, allocations: 152.3 kB / 0.5222 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.3851, allocations: 221.2 kB / 0.5225 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.3854, allocations: 249.3 kB / 0.5227 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3855, allocations: 19.2 kB / 0.5227 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.3857, allocations: 109.3 kB / 0.5228 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.3858, allocations: 101 kB / 0.5229 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.3859, allocations: 11.16 kB / 0.5229 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.3861, allocations: 57.33 kB / 0.523 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.368e-05/0.3861, allocations: 52.86 kB / 0.523 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3862, allocations: 84.48 kB / 0.5231 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.3866, allocations: 237 kB / 0.5233 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3866, allocations: 1.781 kB / 0.5233 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3866, allocations: 0 / 0.5233 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3866, allocations: 0 / 0.5233 GB, free: 0.8906 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.0008595/0.3875, allocations: 0.5491 MB / 0.5239 GB, free: 388 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.3876, allocations: 10.22 kB / 0.5239 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.053e-05/0.3876, allocations: 26.58 kB / 0.5239 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.3881, allocations: 285.5 kB / 0.5242 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3881, allocations: 6.156 kB / 0.5242 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.3881, allocations: 10.42 kB / 0.5242 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.3884, allocations: 105.1 kB / 0.5243 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3884, allocations: 1.781 kB / 0.5243 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.3884, allocations: 0.7031 kB / 0.5243 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3884, allocations: 1.812 kB / 0.5243 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.3885, allocations: 43.34 kB / 0.5243 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.3892, allocations: 379.6 kB / 0.5247 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.3895, allocations: 116.5 kB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3896, allocations: 39.38 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3896, allocations: 10.06 kB / 0.5249 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.3899, allocations: 112 kB / 0.525 GB, free: 15.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.3899, allocations: 0 / 0.525 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005499/0.3905, allocations: 179.2 kB / 0.5251 GB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.3905, allocations: 113.9 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004361/0.391, allocations: 328.6 kB / 0.5256 GB, free: 15.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.391, allocations: 32.02 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3911, allocations: 137.8 kB / 0.5257 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.3911, allocations: 31.33 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.3912, allocations: 31.89 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3913, allocations: 336.7 kB / 0.5261 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.3914, allocations: 36.91 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.3916, allocations: 81.8 kB / 0.5262 GB, free: 14.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.3918, allocations: 94.88 kB / 0.5263 GB, free: 14.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3918, allocations: 0 / 0.5263 GB, free: 14.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000302/0.3921, allocations: 150.2 kB / 0.5265 GB, free: 14.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3921, allocations: 6.219 kB / 0.5265 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3921, allocations: 2.359 kB / 0.5265 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3921, allocations: 1.5 kB / 0.5265 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.3922, allocations: 29.2 kB / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3922, allocations: 5.562 kB / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.393e-05/0.3923, allocations: 11.39 kB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.3923, allocations: 8.188 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.000159/0.3925, allocations: 155.5 kB / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.3926, allocations: 27.81 kB / 0.5267 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.137e-05/0.3926, allocations: 27.41 kB / 0.5267 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3926, allocations: 1.891 kB / 0.5267 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3926, allocations: 5.594 kB / 0.5267 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3926, allocations: 0.6562 kB / 0.5267 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.3929, allocations: 251.4 kB / 0.527 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3929, allocations: 1.375 kB / 0.527 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.3929, allocations: 7.719 kB / 0.527 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3929, allocations: 4.797 kB / 0.527 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.393, allocations: 7.547 kB / 0.527 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.393, allocations: 1.375 kB / 0.527 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.393, allocations: 0.75 kB / 0.527 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.3933, allocations: 179.6 kB / 0.5272 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.3934, allocations: 101.7 kB / 0.5273 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.3934, allocations: 6.172 kB / 0.5273 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.3935, allocations: 10.19 kB / 0.5273 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.3935, allocations: 13.02 kB / 0.5273 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.3936, allocations: 8.719 kB / 0.5273 GB, free: 13.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002903/0.3938, allocations: 251.5 kB / 0.5275 GB, free: 13.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3938, allocations: 0 / 0.5275 GB, free: 13.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000279/0.3941, allocations: 36.81 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.0009912/0.3951, allocations: 416.5 kB / 0.528 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.3954, allocations: 89.41 kB / 0.528 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3954, allocations: 0 / 0.528 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.3955, allocations: 44.66 kB / 0.5281 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.3959, allocations: 72.5 kB / 0.5282 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007356/0.3967, allocations: 376.5 kB / 0.5285 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.397, allocations: 0.75 MB / 0.5293 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.3971, allocations: 36.59 kB / 0.5293 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.3972, allocations: 34.39 kB / 0.5293 GB, free: 12.19 MB / 398.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3972, allocations: 0 / 0.5293 GB, free: 12.19 MB / 398.1 MB Notification: Performance of Templates: time 0.007823/0.405, allocations: 2.98 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