Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, 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.473/1.473, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 110.2 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4338/0.4338, allocations: 44.84 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4244, allocations: 62.02 MB / 0.5152 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003406/0.4278, allocations: 1.986 MB / 0.5171 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.4299, allocations: 1.145 MB / 0.5182 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.43, allocations: 2.969 kB / 0.5182 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.4306, allocations: 219.4 kB / 0.5184 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.431, allocations: 190.8 kB / 0.5186 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.4314, allocations: 156.3 kB / 0.5188 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.4317, allocations: 248.4 kB / 0.519 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.4318, allocations: 27.56 kB / 0.519 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.4319, allocations: 119.3 kB / 0.5191 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.4321, allocations: 149 kB / 0.5193 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.4322, allocations: 5.531 kB / 0.5193 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.4323, allocations: 63.38 kB / 0.5193 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.284e-05/0.4324, allocations: 61.81 kB / 0.5194 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.241e-05/0.4325, allocations: 91.58 kB / 0.5195 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.4328, allocations: 236.5 kB / 0.5197 GB, free: 35.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4328, allocations: 0 / 0.5197 GB, free: 35.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4328, allocations: 0 / 0.5197 GB, free: 35.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.4328, allocations: 0 / 0.5197 GB, free: 35.07 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008385/0.4337, allocations: 0.5652 MB / 0.5203 GB, free: 34.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.4338, allocations: 11.53 kB / 0.5203 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.522e-05/0.4338, allocations: 28.28 kB / 0.5203 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.4342, allocations: 283.2 kB / 0.5206 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.4342, allocations: 7.406 kB / 0.5206 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.4343, allocations: 18.19 kB / 0.5206 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.4345, allocations: 110.2 kB / 0.5207 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.4345, allocations: 6.328 kB / 0.5207 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.4346, allocations: 0 / 0.5207 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4346, allocations: 2.562 kB / 0.5207 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.4347, allocations: 43.2 kB / 0.5208 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.4352, allocations: 482.9 kB / 0.5212 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.4356, allocations: 119.4 kB / 0.5213 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/0.4357, allocations: 52.34 kB / 0.5214 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.4357, allocations: 2.938 kB / 0.5214 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.436, allocations: 119.4 kB / 0.5215 GB, free: 33.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.436, allocations: 0 / 0.5215 GB, free: 33.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001167/0.4372, allocations: 0.5092 MB / 0.522 GB, free: 33.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.4372, allocations: 79.95 kB / 0.5221 GB, free: 33.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.4376, allocations: 448.6 kB / 0.5225 GB, free: 33.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.4376, allocations: 33.64 kB / 0.5225 GB, free: 33.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.702e-05/0.4377, allocations: 151.3 kB / 0.5227 GB, free: 32.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.4378, allocations: 71.89 kB / 0.5227 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.4379, allocations: 45.62 kB / 0.5228 GB, free: 32.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.438, allocations: 349.9 kB / 0.5231 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.4381, allocations: 56.02 kB / 0.5232 GB, free: 32.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.4383, allocations: 98.94 kB / 0.5233 GB, free: 32.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.4385, allocations: 163.2 kB / 0.5234 GB, free: 32.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4385, allocations: 0 / 0.5234 GB, free: 32.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004059/0.4389, allocations: 234.7 kB / 0.5237 GB, free: 32.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.439, allocations: 9.344 kB / 0.5237 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.439, allocations: 0 / 0.5237 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.439, allocations: 2.844 kB / 0.5237 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.4392, allocations: 42.12 kB / 0.5237 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4392, allocations: 10.38 kB / 0.5237 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.595e-05/0.4393, allocations: 10.84 kB / 0.5237 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.4393, allocations: 5.812 kB / 0.5237 GB, free: 32.18 MB / 378.7 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001371/0.4394, allocations: 168.1 kB / 0.5239 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.4395, allocations: 40.08 kB / 0.5239 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.793e-05/0.4396, allocations: 36.48 kB / 0.524 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4396, allocations: 2.938 kB / 0.524 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.4396, allocations: 6.859 kB / 0.524 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4396, allocations: 3.328 kB / 0.524 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008171/0.4404, allocations: 0.7338 MB / 0.5247 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.4404, allocations: 2.531 kB / 0.5247 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.198e-05/0.4405, allocations: 34.14 kB / 0.5247 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4405, allocations: 3.906 kB / 0.5247 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.4405, allocations: 10.28 kB / 0.5247 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4406, allocations: 2.844 kB / 0.5247 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4406, allocations: 0 / 0.5247 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.4413, allocations: 1.074 MB / 0.5258 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.4414, allocations: 111.1 kB / 0.5259 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.4414, allocations: 6.875 kB / 0.5259 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.4415, allocations: 14.03 kB / 0.5259 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.4416, allocations: 21.98 kB / 0.5259 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.4416, allocations: 11.89 kB / 0.5259 GB, free: 30.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002903/0.4419, allocations: 335.2 kB / 0.5263 GB, free: 30.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.442, allocations: 0 / 0.5263 GB, free: 30.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004203/0.4424, allocations: 43.59 kB / 0.5263 GB, free: 30.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001152/0.4435, allocations: 0.5025 MB / 0.5268 GB, free: 29.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.4438, allocations: 163.3 kB / 0.527 GB, free: 29.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4439, allocations: 0 / 0.527 GB, free: 29.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.444, allocations: 88.95 kB / 0.527 GB, free: 29.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.4445, allocations: 59.83 kB / 0.5271 GB, free: 29.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008724/0.4454, allocations: 0.8062 MB / 0.5279 GB, free: 29.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.4456, allocations: 0.7749 MB / 0.5286 GB, free: 28.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.4457, allocations: 38.88 kB / 0.5287 GB, free: 28.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.4458, allocations: 33.94 kB / 0.5287 GB, free: 28.57 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4458, allocations: 0 / 0.5287 GB, free: 28.57 MB / 378.7 MB Notification: Performance of Templates: time 0.005885/0.4517, allocations: 3.097 MB / 0.5317 GB, free: 28.26 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches