Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.001332/0.001332, allocations: 187.1 kB / 18.71 MB, free: 4.348 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.411/1.411, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2136/0.2136, allocations: 44.2 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.89 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4123, allocations: 60.82 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002929/0.4152, allocations: 1.806 MB / 0.5207 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.4174, allocations: 1.559 MB / 0.5222 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.4176, allocations: 2.219 kB / 0.5222 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.4179, allocations: 51.73 kB / 0.5223 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.4183, allocations: 90.75 kB / 0.5224 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.4187, allocations: 172.1 kB / 0.5225 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.4189, allocations: 182.8 kB / 0.5227 GB, free: 1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.107e-05/0.419, allocations: 9.953 kB / 0.5227 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.4191, allocations: 78.38 kB / 0.5228 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.4193, allocations: 71.94 kB / 0.5229 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.4194, allocations: 7.656 kB / 0.5229 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.4195, allocations: 61.78 kB / 0.5229 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.833e-05/0.4196, allocations: 33.97 kB / 0.523 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.4197, allocations: 61.75 kB / 0.523 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.4199, allocations: 168.1 kB / 0.5232 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.42, allocations: 2.188 kB / 0.5232 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.42, allocations: 0 / 0.5232 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.42, allocations: 0 / 0.5232 GB, free: 0.7773 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006321/0.4206, allocations: 465.7 kB / 0.5236 GB, free: 352 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4207, allocations: 9.375 kB / 0.5236 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.4207, allocations: 16.72 kB / 0.5237 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.421, allocations: 244.8 kB / 0.5239 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.4211, allocations: 6.5 kB / 0.5239 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.4211, allocations: 7.031 kB / 0.5239 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.4213, allocations: 98.41 kB / 0.524 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4213, allocations: 1.469 kB / 0.524 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.4214, allocations: 0 / 0.524 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.4214, allocations: 9.484 kB / 0.524 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.4215, allocations: 35.36 kB / 0.524 GB, free: 0 / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.4218, allocations: 211.2 kB / 0.5242 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.4221, allocations: 105.6 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.4222, allocations: 47.19 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.4223, allocations: 1.844 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.4225, allocations: 109.9 kB / 0.5245 GB, free: 15.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.406e-06/0.4225, allocations: 7.938 kB / 0.5245 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005275/0.4231, allocations: 167.8 kB / 0.5247 GB, free: 15.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/0.4232, allocations: 131.2 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.4235, allocations: 214.5 kB / 0.525 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.4235, allocations: 28.06 kB / 0.525 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/0.4236, allocations: 113.3 kB / 0.5251 GB, free: 15.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.4237, allocations: 27.61 kB / 0.5252 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.4237, allocations: 33.97 kB / 0.5252 GB, free: 15.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.4239, allocations: 328.5 kB / 0.5255 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/0.424, allocations: 26.06 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.4241, allocations: 68.73 kB / 0.5256 GB, free: 14.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.4243, allocations: 91.77 kB / 0.5257 GB, free: 14.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4244, allocations: 1.781 kB / 0.5257 GB, free: 14.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002832/0.4246, allocations: 141.7 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.4247, allocations: 5 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4247, allocations: 1.859 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4247, allocations: 1.312 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.4248, allocations: 22.14 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.4249, allocations: 7.562 kB / 0.5259 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/0.4249, allocations: 13.31 kB / 0.5259 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.425, allocations: 5.031 kB / 0.5259 GB, free: 14.49 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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001261/0.4251, allocations: 134.3 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.4251, allocations: 24.25 kB / 0.526 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.4252, allocations: 17.39 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4252, allocations: 1.656 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4252, allocations: 1.625 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4252, allocations: 0.5156 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.4254, allocations: 219.2 kB / 0.5263 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4255, allocations: 0 / 0.5263 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.4255, allocations: 8.188 kB / 0.5263 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.4255, allocations: 5.312 kB / 0.5263 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.4255, allocations: 2.547 kB / 0.5263 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.4255, allocations: 1.984 kB / 0.5263 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4255, allocations: 1.375 kB / 0.5263 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.4258, allocations: 179.6 kB / 0.5264 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.4259, allocations: 86.08 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.426, allocations: 5.828 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.426, allocations: 10.19 kB / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.4261, allocations: 7.406 kB / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.4261, allocations: 8.672 kB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.4263, allocations: 157 kB / 0.5267 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4263, allocations: 0 / 0.5267 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000263/0.4266, allocations: 37.94 kB / 0.5267 GB, free: 13.79 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001095/0.4277, allocations: 458.1 kB / 0.5272 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002791/0.4279, allocations: 81.88 kB / 0.5273 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.428, allocations: 4.062 kB / 0.5273 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.4281, allocations: 39.95 kB / 0.5273 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.4285, allocations: 62.75 kB / 0.5274 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.4291, allocations: 259.6 kB / 0.5276 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.4294, allocations: 0.7246 MB / 0.5283 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.4295, allocations: 37.53 kB / 0.5284 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.4296, allocations: 27.23 kB / 0.5284 GB, free: 12.59 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4296, allocations: 0 / 0.5284 GB, free: 12.59 MB / 398.1 MB Notification: Performance of Templates: time 0.006426/0.436, allocations: 2.711 MB / 0.531 GB, free: 11.31 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches