Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009894/0.0009892, allocations: 178.4 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 223.3 MB / 242.1 MB, free: 9.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007687/0.0007687, allocations: 94.95 kB / 293.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2866/0.2866, allocations: 44.14 MB / 388.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003423, allocations: 20 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2992, allocations: 61.87 MB / 0.5107 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.4126, allocations: 90.24 MB / 0.5989 GB, free: 4.848 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.4129, allocations: 79.95 kB / 0.5989 GB, free: 4.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01178/0.4247, allocations: 4.407 MB / 0.6032 GB, free: 372 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4248, allocations: 0 / 0.6032 GB, free: 372 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.4248, allocations: 4 kB / 0.6032 GB, free: 368 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005621/0.4254, allocations: 484.7 kB / 0.6037 GB, free: 15.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4254, allocations: 12.03 kB / 0.6037 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.4255, allocations: 16.75 kB / 0.6037 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.4258, allocations: 234.2 kB / 0.604 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.4258, allocations: 4.375 kB / 0.604 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.4258, allocations: 8.375 kB / 0.604 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.426, allocations: 110.9 kB / 0.6041 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.426, allocations: 192 / 0.6041 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.4261, allocations: 7.938 kB / 0.6041 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4261, allocations: 3.984 kB / 0.6041 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.4262, allocations: 63.89 kB / 0.6041 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.4268, allocations: 0.5203 MB / 0.6047 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.4271, allocations: 94.66 kB / 0.6047 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.172e-05/0.4272, allocations: 40.84 kB / 0.6048 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.4273, allocations: 0 / 0.6048 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.4274, allocations: 87.31 kB / 0.6049 GB, free: 14.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.4274, allocations: 7.938 kB / 0.6049 GB, free: 14.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003645/0.4278, allocations: 149.5 kB / 0.605 GB, free: 14.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.4279, allocations: 51.41 kB / 0.6051 GB, free: 14.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.428, allocations: 195.4 kB / 0.6052 GB, free: 14.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.4281, allocations: 30.08 kB / 0.6053 GB, free: 14.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.4281, allocations: 112 kB / 0.6054 GB, free: 13.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.4282, allocations: 31.64 kB / 0.6054 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-06/0.4282, allocations: 4 kB / 0.6054 GB, free: 13.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4283, allocations: 330.7 kB / 0.6057 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.679e-05/0.4284, allocations: 31.98 kB / 0.6058 GB, free: 13.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.4285, allocations: 68.2 kB / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.4287, allocations: 108.2 kB / 0.6059 GB, free: 13.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4287, allocations: 0 / 0.6059 GB, free: 13.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002542/0.429, allocations: 141.3 kB / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.429, allocations: 4 kB / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.429, allocations: 4 kB / 0.6061 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.429, allocations: 0 / 0.6061 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.4291, allocations: 23.98 kB / 0.6061 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4291, allocations: 3.938 kB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.82e-05/0.4292, allocations: 24.02 kB / 0.6061 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4292, allocations: 7.938 kB / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.191e-05/0.4293, allocations: 126.7 kB / 0.6063 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.4293, allocations: 11.91 kB / 0.6063 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.4296, allocations: 139 kB / 0.6064 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4296, allocations: 4 kB / 0.6064 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4296, allocations: 0 / 0.6064 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4296, allocations: 0 / 0.6064 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.4298, allocations: 221.4 kB / 0.6066 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4298, allocations: 192 / 0.6066 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.498e-05/0.4299, allocations: 15.98 kB / 0.6066 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4299, allocations: 3.938 kB / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4299, allocations: 0 / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4299, allocations: 7.938 kB / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4299, allocations: 0 / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.4303, allocations: 204.7 kB / 0.6068 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.4303, allocations: 101 kB / 0.6069 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.4304, allocations: 0 / 0.6069 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.016e-05/0.4304, allocations: 4 kB / 0.6069 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.4305, allocations: 16.05 kB / 0.6069 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.4305, allocations: 4 kB / 0.607 GB, free: 12.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.4306, allocations: 141.1 kB / 0.6071 GB, free: 12.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4306, allocations: 0 / 0.6071 GB, free: 12.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.4309, allocations: 43.97 kB / 0.6071 GB, free: 12 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008192/0.4317, allocations: 420 kB / 0.6075 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.4319, allocations: 87.84 kB / 0.6076 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4319, allocations: 0 / 0.6076 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.706e-05/0.432, allocations: 43.97 kB / 0.6077 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.4323, allocations: 31.97 kB / 0.6077 GB, free: 11.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.4328, allocations: 302.1 kB / 0.608 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.4331, allocations: 0.7165 MB / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.456e-05/0.4331, allocations: 17.06 kB / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.4332, allocations: 19.42 kB / 0.6087 GB, free: 10.48 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4332, allocations: 0 / 0.6087 GB, free: 10.48 MB / 426.7 MB Notification: Performance of Templates: time 0.004012/0.4372, allocations: 1.816 MB / 0.6105 GB, free: 8.688 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches