Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001103, 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.268/1.268, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 101.6 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3799/0.3799, allocations: 44.83 MB / 392.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3607, allocations: 62.02 MB / 0.5152 GB, free: 37.62 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003222/0.364, allocations: 1.794 MB / 0.5169 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.3655, allocations: 1.016 MB / 0.5179 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.3657, allocations: 0 / 0.5179 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.366, allocations: 41.11 kB / 0.5179 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.3664, allocations: 83 kB / 0.518 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.3667, allocations: 88.84 kB / 0.5181 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.3669, allocations: 106.5 kB / 0.5182 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.367, allocations: 12.38 kB / 0.5182 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.457e-05/0.3671, allocations: 38.25 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.764e-05/0.3672, allocations: 31.78 kB / 0.5183 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.3672, allocations: 2.906 kB / 0.5183 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.3674, allocations: 45.53 kB / 0.5183 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.251e-05/0.3674, allocations: 24.95 kB / 0.5184 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.3675, allocations: 36.53 kB / 0.5184 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.3677, allocations: 109.2 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3677, allocations: 2.656 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3677, allocations: 0 / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3677, allocations: 0 / 0.5185 GB, free: 35.38 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.0005318/0.3683, allocations: 415 kB / 0.5189 GB, free: 34.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3683, allocations: 8.344 kB / 0.5189 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.3684, allocations: 14.5 kB / 0.5189 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.3686, allocations: 213.1 kB / 0.5191 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.3686, allocations: 3.188 kB / 0.5191 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.3687, allocations: 14.78 kB / 0.5191 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3688, allocations: 60.02 kB / 0.5192 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3688, allocations: 0 / 0.5192 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3689, allocations: 0 / 0.5192 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3689, allocations: 3 kB / 0.5192 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.548e-05/0.3689, allocations: 19.45 kB / 0.5192 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.3694, allocations: 295.5 kB / 0.5195 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.3696, allocations: 61.44 kB / 0.5196 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.3696, allocations: 20.52 kB / 0.5196 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3696, allocations: 0 / 0.5196 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.3699, allocations: 71.36 kB / 0.5196 GB, free: 34.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3699, allocations: 0 / 0.5196 GB, free: 34.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005358/0.3704, allocations: 171.9 kB / 0.5198 GB, free: 34.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.3704, allocations: 58.25 kB / 0.5199 GB, free: 34.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.3706, allocations: 193.3 kB / 0.5201 GB, free: 33.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.3706, allocations: 28.48 kB / 0.5201 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.3707, allocations: 102.3 kB / 0.5202 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.3707, allocations: 25.22 kB / 0.5202 GB, free: 33.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.3708, allocations: 26.25 kB / 0.5202 GB, free: 33.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.3708, allocations: 325 kB / 0.5205 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.763e-05/0.3709, allocations: 28.69 kB / 0.5206 GB, free: 33.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.636e-05/0.371, allocations: 36.48 kB / 0.5206 GB, free: 33.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.3711, allocations: 62.34 kB / 0.5207 GB, free: 33.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3711, allocations: 3.094 kB / 0.5207 GB, free: 33.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001676/0.3712, allocations: 108.8 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3713, allocations: 5.219 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3713, allocations: 0 / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3713, allocations: 2.594 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.3714, allocations: 16.84 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3714, allocations: 0 / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.3715, allocations: 10.56 kB / 0.5208 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.3715, allocations: 2.938 kB / 0.5208 GB, free: 33.35 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 8.523e-05/0.3716, allocations: 131.9 kB / 0.5209 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.3716, allocations: 9.25 kB / 0.5209 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.3716, allocations: 18.19 kB / 0.521 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.3716, allocations: 0 / 0.521 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3717, allocations: 6.75 kB / 0.521 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3717, allocations: 3.938 kB / 0.521 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.372, allocations: 396.3 kB / 0.5213 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3721, allocations: 0 / 0.5213 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.3721, allocations: 12.12 kB / 0.5214 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3721, allocations: 2.438 kB / 0.5214 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3721, allocations: 3.938 kB / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3721, allocations: 2.5 kB / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3721, allocations: 0 / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.3725, allocations: 0.7881 MB / 0.5221 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.3726, allocations: 87.7 kB / 0.5222 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.3726, allocations: 6.234 kB / 0.5222 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/0.3727, allocations: 0 / 0.5222 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.3727, allocations: 11.11 kB / 0.5222 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.3728, allocations: 7.719 kB / 0.5222 GB, free: 31.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.3729, allocations: 149.8 kB / 0.5224 GB, free: 31.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3729, allocations: 3.938 kB / 0.5224 GB, free: 31.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003749/0.3733, allocations: 24.62 kB / 0.5224 GB, free: 31.86 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.001013/0.3743, allocations: 464.5 kB / 0.5229 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.3745, allocations: 67.67 kB / 0.5229 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3745, allocations: 4.062 kB / 0.5229 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/0.3746, allocations: 28.61 kB / 0.5229 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.3749, allocations: 28.55 kB / 0.523 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.3755, allocations: 382.7 kB / 0.5233 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.3757, allocations: 0.7038 MB / 0.524 GB, free: 30.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.346e-05/0.3757, allocations: 16.95 kB / 0.524 GB, free: 30.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.3758, allocations: 20.03 kB / 0.5241 GB, free: 30.55 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3758, allocations: 0 / 0.5241 GB, free: 30.55 MB / 378.7 MB Notification: Performance of Templates: time 0.004508/0.3803, allocations: 1.7 MB / 0.5257 GB, free: 30.36 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches