Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 177.3 kB / 17.06 MB, free: 5.098 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.296/1.296, allocations: 223.2 MB / 241 MB, free: 11.87 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.0009749/0.0009749, allocations: 94.75 kB / 292.2 MB, free: 10.9 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.3805/0.3805, allocations: 44.22 MB / 387.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 8 kB / 459.9 MB, free: 1.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3369, allocations: 61.9 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.4603, allocations: 89.3 MB / 0.5968 GB, free: 5.863 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.4606, allocations: 79.94 kB / 0.5969 GB, free: 5.789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01537/0.476, allocations: 5.904 MB / 0.6026 GB, free: 15.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.476, allocations: 0 / 0.6026 GB, free: 15.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.476, allocations: 3.938 kB / 0.6026 GB, free: 15.88 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005779/0.4766, allocations: 446.7 kB / 0.6031 GB, free: 15.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4767, allocations: 12.03 kB / 0.6031 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.4767, allocations: 19.81 kB / 0.6031 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.4771, allocations: 222.7 kB / 0.6033 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.4771, allocations: 7.953 kB / 0.6033 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.4772, allocations: 0 / 0.6033 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.4773, allocations: 57.66 kB / 0.6034 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4773, allocations: 7.938 kB / 0.6034 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4774, allocations: 0 / 0.6034 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.4774, allocations: 0 / 0.6034 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.828e-05/0.4775, allocations: 27.92 kB / 0.6034 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.4779, allocations: 308.8 kB / 0.6037 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.4781, allocations: 54.67 kB / 0.6037 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.4781, allocations: 0 / 0.6037 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.4783, allocations: 75.45 kB / 0.6038 GB, free: 14.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.4783, allocations: 0 / 0.6038 GB, free: 14.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005885/0.4789, allocations: 185 kB / 0.604 GB, free: 14.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.479, allocations: 51.41 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.4792, allocations: 243.2 kB / 0.6043 GB, free: 14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.4793, allocations: 25.7 kB / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.4793, allocations: 112.1 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.4794, allocations: 31.62 kB / 0.6044 GB, free: 13.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.4794, allocations: 4 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4795, allocations: 331 kB / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.4796, allocations: 19.98 kB / 0.6048 GB, free: 13.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.31e-05/0.4797, allocations: 37.7 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/0.4797, allocations: 24 kB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4797, allocations: 0 / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001864/0.4799, allocations: 109.4 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4799, allocations: 5.875 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.48, allocations: 0 / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.48, allocations: 4 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.4801, allocations: 16 kB / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4801, allocations: 3.984 kB / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.4801, allocations: 4 kB / 0.605 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.4801, allocations: 7.938 kB / 0.605 GB, free: 13.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001112/0.4803, allocations: 134.3 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.4803, allocations: 19.84 kB / 0.6051 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.4806, allocations: 123.2 kB / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4806, allocations: 4.031 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4806, allocations: 3.938 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4806, allocations: 4.359 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.4811, allocations: 435.2 kB / 0.6057 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4811, allocations: 4 kB / 0.6057 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.4812, allocations: 20.02 kB / 0.6057 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4812, allocations: 3.984 kB / 0.6057 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.4812, allocations: 4 kB / 0.6057 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4812, allocations: 0 / 0.6057 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4812, allocations: 0 / 0.6057 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.4815, allocations: 233.8 kB / 0.6059 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-05/0.4816, allocations: 100.9 kB / 0.606 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.4816, allocations: 4 kB / 0.606 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.4817, allocations: 7.984 kB / 0.606 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.4817, allocations: 4 kB / 0.606 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.4817, allocations: 7.953 kB / 0.606 GB, free: 12.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.4819, allocations: 196.5 kB / 0.6062 GB, free: 11.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4819, allocations: 0 / 0.6062 GB, free: 11.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002797/0.4822, allocations: 39.92 kB / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.001024/0.4832, allocations: 479.2 kB / 0.6067 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.4834, allocations: 67.84 kB / 0.6068 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4834, allocations: 4.062 kB / 0.6068 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.959e-05/0.4835, allocations: 28 kB / 0.6068 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.4838, allocations: 23.97 kB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.4843, allocations: 322.9 kB / 0.6071 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.4846, allocations: 0.7238 MB / 0.6078 GB, free: 10.31 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.495e-05/0.4847, allocations: 12.56 kB / 0.6079 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.4847, allocations: 23.42 kB / 0.6079 GB, free: 10.27 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4847, allocations: 0 / 0.6079 GB, free: 10.27 MB / 426.7 MB Notification: Performance of Templates: time 0.004357/0.4891, allocations: 1.83 MB / 0.6097 GB, free: 8.461 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches