Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 226.7 MB / 245.5 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 101.6 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.401/0.401, allocations: 44.84 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.398, allocations: 62.02 MB / 0.5152 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003307/0.4014, allocations: 1.793 MB / 0.5169 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.403, allocations: 1.024 MB / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.4031, allocations: 0 / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.4035, allocations: 40.53 kB / 0.518 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.4038, allocations: 78.14 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.4041, allocations: 93.7 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.4043, allocations: 106.9 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.4044, allocations: 5.688 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.025e-05/0.4045, allocations: 46.36 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.248e-05/0.4046, allocations: 34.69 kB / 0.5183 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.4047, allocations: 3.094 kB / 0.5183 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.4048, allocations: 44.97 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.216e-05/0.4049, allocations: 16.34 kB / 0.5184 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.784e-05/0.405, allocations: 36.25 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.4053, allocations: 112.8 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.4053, allocations: 0 / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.4053, allocations: 3.422 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.4053, allocations: 0 / 0.5185 GB, free: 35.54 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000686/0.406, allocations: 414.1 kB / 0.5189 GB, free: 35.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.4061, allocations: 11.88 kB / 0.5189 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.4061, allocations: 15.66 kB / 0.5189 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.4064, allocations: 212.1 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.4065, allocations: 4.312 kB / 0.5191 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.4065, allocations: 6.969 kB / 0.5191 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.4067, allocations: 60.17 kB / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4067, allocations: 0 / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.4067, allocations: 7.109 kB / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4068, allocations: 0 / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.594e-05/0.4069, allocations: 20.98 kB / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.4073, allocations: 294.9 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.4076, allocations: 57.38 kB / 0.5196 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.554e-05/0.4076, allocations: 24.39 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.4077, allocations: 2.844 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.4079, allocations: 67.53 kB / 0.5197 GB, free: 34.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.4079, allocations: 0 / 0.5197 GB, free: 34.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000663/0.4086, allocations: 173.7 kB / 0.5198 GB, free: 34.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.4086, allocations: 55.34 kB / 0.5199 GB, free: 34.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.4089, allocations: 193.1 kB / 0.5201 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.4089, allocations: 28.36 kB / 0.5201 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.4089, allocations: 98.22 kB / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.409, allocations: 32.53 kB / 0.5202 GB, free: 34.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.409, allocations: 19.81 kB / 0.5202 GB, free: 33.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.4091, allocations: 329 kB / 0.5205 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.4092, allocations: 18.7 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.633e-05/0.4093, allocations: 43.42 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.4094, allocations: 62.25 kB / 0.5207 GB, free: 33.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4094, allocations: 4 kB / 0.5207 GB, free: 33.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002272/0.4097, allocations: 104.9 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4097, allocations: 5.938 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4097, allocations: 0 / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4097, allocations: 2.938 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.4099, allocations: 19.19 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4099, allocations: 2.75 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.837e-05/0.4099, allocations: 3.938 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.41, allocations: 2.875 kB / 0.5208 GB, free: 33.52 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 (10): * Single equations (assignments): 10 * 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 9.748e-05/0.4101, allocations: 136.9 kB / 0.5209 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.4101, allocations: 9.625 kB / 0.5209 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.4102, allocations: 15.48 kB / 0.521 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4102, allocations: 6.875 kB / 0.521 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4102, allocations: 0 / 0.521 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4102, allocations: 3.938 kB / 0.521 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.4106, allocations: 392.3 kB / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4107, allocations: 4.031 kB / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/0.4107, allocations: 8.031 kB / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4107, allocations: 2.688 kB / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4107, allocations: 3.938 kB / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4108, allocations: 2.906 kB / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4108, allocations: 0 / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.4113, allocations: 0.7858 MB / 0.5221 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.4113, allocations: 93.59 kB / 0.5222 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.4114, allocations: 0 / 0.5222 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4115, allocations: 6.625 kB / 0.5222 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.4115, allocations: 6.156 kB / 0.5222 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.4116, allocations: 2.938 kB / 0.5222 GB, free: 32.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.4117, allocations: 154.5 kB / 0.5224 GB, free: 32.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4117, allocations: 2.844 kB / 0.5224 GB, free: 32.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005453/0.4123, allocations: 29.69 kB / 0.5224 GB, free: 32.03 MB / 378.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 (8): * Single equations (assignments): 6 * 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.001315/0.4136, allocations: 473 kB / 0.5229 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.4138, allocations: 65.25 kB / 0.5229 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4138, allocations: 0 / 0.5229 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.74e-05/0.4139, allocations: 29.42 kB / 0.523 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.4144, allocations: 22.41 kB / 0.523 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.415, allocations: 384.1 kB / 0.5233 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.4152, allocations: 0.7046 MB / 0.524 GB, free: 30.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.109e-05/0.4152, allocations: 21.31 kB / 0.524 GB, free: 30.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.4153, allocations: 23.83 kB / 0.5241 GB, free: 30.72 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4153, allocations: 0 / 0.5241 GB, free: 30.72 MB / 378.7 MB Notification: Performance of Templates: time 0.005817/0.4212, allocations: 1.699 MB / 0.5257 GB, free: 30.53 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches