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.001238/0.001238, allocations: 108.7 kB / 18.45 MB, free: 4.645 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.001115/0.001115, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.323/1.323, allocations: 222.9 MB / 243.1 MB, free: 15.17 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.2051/0.2051, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 67.91 kB / 471.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4114, allocations: 60.83 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003459/0.4149, allocations: 1.944 MB / 0.5215 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.4169, allocations: 1.043 MB / 0.5225 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.4171, allocations: 5.344 kB / 0.5225 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007641/0.4178, allocations: 199.1 kB / 0.5227 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.4182, allocations: 148.7 kB / 0.5229 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.4188, allocations: 228.9 kB / 0.5231 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.4192, allocations: 253.5 kB / 0.5233 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.4193, allocations: 32.64 kB / 0.5234 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.4195, allocations: 109.5 kB / 0.5235 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.4197, allocations: 101.4 kB / 0.5236 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.4197, allocations: 13.84 kB / 0.5236 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.4199, allocations: 54.97 kB / 0.5236 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.038e-05/0.42, allocations: 58.22 kB / 0.5237 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.4201, allocations: 76.17 kB / 0.5238 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.4205, allocations: 236.7 kB / 0.524 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4205, allocations: 0 / 0.524 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4205, allocations: 1.344 kB / 0.524 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.4205, allocations: 0 / 0.524 GB, free: 0.9141 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.0008319/0.4213, allocations: 0.54 MB / 0.5245 GB, free: 424 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.4214, allocations: 12.62 kB / 0.5245 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.4214, allocations: 24.95 kB / 0.5246 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.4218, allocations: 282 kB / 0.5248 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.4218, allocations: 7.609 kB / 0.5248 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.4218, allocations: 9.203 kB / 0.5248 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.4221, allocations: 99.22 kB / 0.5249 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4221, allocations: 4 kB / 0.5249 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4221, allocations: 1.672 kB / 0.5249 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.4221, allocations: 1.062 kB / 0.5249 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.4223, allocations: 43.23 kB / 0.525 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.4228, allocations: 380.5 kB / 0.5253 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.4232, allocations: 123.5 kB / 0.5255 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.954e-05/0.4233, allocations: 40.44 kB / 0.5255 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.4233, allocations: 2.5 kB / 0.5255 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.4236, allocations: 128.8 kB / 0.5256 GB, free: 15.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.4236, allocations: 0 / 0.5256 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004921/0.4241, allocations: 174.5 kB / 0.5258 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.4242, allocations: 108.9 kB / 0.5259 GB, free: 15.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.4246, allocations: 334.2 kB / 0.5262 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.4246, allocations: 27.08 kB / 0.5262 GB, free: 15.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4247, allocations: 141.4 kB / 0.5264 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.4248, allocations: 31.92 kB / 0.5264 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.4248, allocations: 31.11 kB / 0.5264 GB, free: 14.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.425, allocations: 341.8 kB / 0.5268 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.4251, allocations: 28.72 kB / 0.5268 GB, free: 14.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.4252, allocations: 80.89 kB / 0.5269 GB, free: 14.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.4254, allocations: 94.48 kB / 0.527 GB, free: 14.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4254, allocations: 1.375 kB / 0.527 GB, free: 14.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002836/0.4257, allocations: 146.9 kB / 0.5271 GB, free: 14.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4257, allocations: 5.5 kB / 0.5271 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4258, allocations: 9.922 kB / 0.5271 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4258, allocations: 1.375 kB / 0.5271 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.4259, allocations: 25.23 kB / 0.5271 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4259, allocations: 5.359 kB / 0.5271 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.753e-05/0.426, allocations: 15.08 kB / 0.5272 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.426, allocations: 12.81 kB / 0.5272 GB, free: 14.36 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.4262, allocations: 149 kB / 0.5273 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.4262, allocations: 22.72 kB / 0.5273 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.4263, allocations: 31.22 kB / 0.5274 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4263, allocations: 1.375 kB / 0.5274 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4263, allocations: 2.125 kB / 0.5274 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4263, allocations: 0.7969 kB / 0.5274 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.4266, allocations: 251 kB / 0.5276 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4266, allocations: 1.375 kB / 0.5276 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.4267, allocations: 12.34 kB / 0.5276 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4267, allocations: 0 / 0.5276 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.4267, allocations: 8.109 kB / 0.5276 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4267, allocations: 1.375 kB / 0.5276 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4267, allocations: 0 / 0.5276 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.427, allocations: 184.1 kB / 0.5278 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/0.4271, allocations: 101.6 kB / 0.5279 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.4272, allocations: 1.984 kB / 0.5279 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.4272, allocations: 10.09 kB / 0.5279 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.4273, allocations: 9.016 kB / 0.5279 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.4273, allocations: 12.86 kB / 0.5279 GB, free: 13.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002788/0.4276, allocations: 251.7 kB / 0.5282 GB, free: 13.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4276, allocations: 0 / 0.5282 GB, free: 13.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.4279, allocations: 37.47 kB / 0.5282 GB, free: 13.57 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.001019/0.4289, allocations: 429.8 kB / 0.5286 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.4292, allocations: 87.75 kB / 0.5287 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.4292, allocations: 5.438 kB / 0.5287 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.4294, allocations: 49.94 kB / 0.5288 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.4298, allocations: 64.03 kB / 0.5288 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000713/0.4305, allocations: 390.9 kB / 0.5292 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.4308, allocations: 0.753 MB / 0.5299 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.4309, allocations: 22.38 kB / 0.5299 GB, free: 12.24 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4309, allocations: 0 / 0.5299 GB, free: 12.24 MB / 398.1 MB Notification: Performance of Templates: time 0.005825/0.4367, allocations: 3.255 MB / 0.5331 GB, free: 10.54 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/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