Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 186.9 kB / 17.97 MB, free: 3.793 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.305/1.305, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001029/0.001029, allocations: 101.9 kB / 291.8 MB, free: 10.94 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.3683/0.3683, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 55.91 kB / 457.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3652, allocations: 60.81 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003225/0.3685, allocations: 1.794 MB / 0.5081 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3698, allocations: 0.8798 MB / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.182e-05/0.3699, allocations: 1.094 kB / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.3703, allocations: 106.9 kB / 0.5091 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.3705, allocations: 78.03 kB / 0.5092 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.3708, allocations: 97.61 kB / 0.5093 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.3709, allocations: 128.7 kB / 0.5094 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.371, allocations: 15.88 kB / 0.5094 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.361e-05/0.3711, allocations: 55.8 kB / 0.5095 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.898e-05/0.3712, allocations: 78.41 kB / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.3713, allocations: 2.688 kB / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.3714, allocations: 45.09 kB / 0.5096 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.879e-05/0.3714, allocations: 41.8 kB / 0.5096 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.3715, allocations: 40.12 kB / 0.5097 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.3717, allocations: 150.3 kB / 0.5098 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3717, allocations: 0 / 0.5098 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3717, allocations: 0 / 0.5098 GB, free: 36.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.3717, allocations: 0 / 0.5098 GB, free: 36.14 MB / 378.7 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.0004991/0.3722, allocations: 458 kB / 0.5102 GB, free: 35.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.3723, allocations: 15.56 kB / 0.5103 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.3723, allocations: 14.5 kB / 0.5103 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.3726, allocations: 225.6 kB / 0.5105 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3726, allocations: 3.062 kB / 0.5105 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3726, allocations: 6.562 kB / 0.5105 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.3728, allocations: 73.09 kB / 0.5106 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3728, allocations: 0 / 0.5106 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3728, allocations: 4 kB / 0.5106 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3728, allocations: 0 / 0.5106 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.373, allocations: 39.7 kB / 0.5106 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.3733, allocations: 331.9 kB / 0.5109 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.3736, allocations: 74.62 kB / 0.511 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.826e-05/0.3737, allocations: 31.39 kB / 0.511 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.3738, allocations: 6.844 kB / 0.511 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.374, allocations: 81.03 kB / 0.5111 GB, free: 34.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.374, allocations: 2.938 kB / 0.5111 GB, free: 34.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008793/0.3749, allocations: 296.1 kB / 0.5114 GB, free: 34.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.3749, allocations: 54.38 kB / 0.5115 GB, free: 34.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.3751, allocations: 245 kB / 0.5117 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3751, allocations: 36.23 kB / 0.5117 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.3752, allocations: 109.2 kB / 0.5118 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.3752, allocations: 58.2 kB / 0.5119 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.3753, allocations: 28.03 kB / 0.5119 GB, free: 34.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.093e-05/0.3754, allocations: 331.4 kB / 0.5122 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.793e-05/0.3755, allocations: 37.86 kB / 0.5123 GB, free: 34.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.665e-05/0.3756, allocations: 56.61 kB / 0.5123 GB, free: 34.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.3757, allocations: 110.4 kB / 0.5124 GB, free: 34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3758, allocations: 0 / 0.5124 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002582/0.376, allocations: 157.6 kB / 0.5126 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.376, allocations: 5.812 kB / 0.5126 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3761, allocations: 0 / 0.5126 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3761, allocations: 3.938 kB / 0.5126 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3762, allocations: 35.11 kB / 0.5126 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3762, allocations: 0 / 0.5126 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.39e-05/0.3763, allocations: 7.625 kB / 0.5126 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.3763, allocations: 5.344 kB / 0.5126 GB, free: 33.91 MB / 378.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 ($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 (16): * Single equations (assignments): 16 * 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.0001/0.3764, allocations: 139.8 kB / 0.5128 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.3764, allocations: 15.84 kB / 0.5128 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.886e-05/0.3765, allocations: 27.38 kB / 0.5128 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3765, allocations: 3.938 kB / 0.5128 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3765, allocations: 0 / 0.5128 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3765, allocations: 2.938 kB / 0.5128 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.3771, allocations: 0.4963 MB / 0.5133 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3771, allocations: 3.938 kB / 0.5133 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.475e-05/0.3772, allocations: 18.08 kB / 0.5133 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3772, allocations: 2.906 kB / 0.5133 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3772, allocations: 6.875 kB / 0.5133 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3772, allocations: 3.938 kB / 0.5133 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3772, allocations: 3.031 kB / 0.5133 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.3777, allocations: 0.8703 MB / 0.5142 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.3778, allocations: 83.8 kB / 0.5143 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.3778, allocations: 6.719 kB / 0.5143 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.3779, allocations: 10.03 kB / 0.5143 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.378, allocations: 16.45 kB / 0.5143 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.378, allocations: 5.156 kB / 0.5143 GB, free: 32.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.3781, allocations: 186.1 kB / 0.5145 GB, free: 32.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3781, allocations: 0 / 0.5145 GB, free: 32.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004301/0.3786, allocations: 38.69 kB / 0.5145 GB, free: 32.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001194/0.3798, allocations: 0.5275 MB / 0.515 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.38, allocations: 96.12 kB / 0.5151 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.38, allocations: 0 / 0.5151 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.3802, allocations: 56.91 kB / 0.5152 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.3806, allocations: 41.2 kB / 0.5152 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.3812, allocations: 0.5014 MB / 0.5157 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.3814, allocations: 0.7322 MB / 0.5164 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.707e-05/0.3814, allocations: 22.02 kB / 0.5164 GB, free: 30.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.3815, allocations: 19.41 kB / 0.5165 GB, free: 30.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3815, allocations: 0 / 0.5165 GB, free: 30.9 MB / 378.7 MB Notification: Performance of Templates: time 0.004439/0.3859, allocations: 2.134 MB / 0.5185 GB, free: 30.68 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches