Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, 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.275/1.275, 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.001107/0.001107, allocations: 105.3 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3621/0.3621, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3926, allocations: 62.02 MB / 0.5152 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002572/0.3952, allocations: 1.813 MB / 0.5169 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3965, allocations: 1.037 MB / 0.5179 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.3965, allocations: 0 / 0.5179 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.3968, allocations: 90.5 kB / 0.518 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.3971, allocations: 99.36 kB / 0.5181 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.3973, allocations: 96.61 kB / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3975, allocations: 122.4 kB / 0.5183 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3976, allocations: 12.69 kB / 0.5183 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.3977, allocations: 56.27 kB / 0.5184 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.503e-05/0.3978, allocations: 64.42 kB / 0.5185 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.3978, allocations: 2.969 kB / 0.5185 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.3979, allocations: 61.91 kB / 0.5185 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.398, allocations: 23.22 kB / 0.5185 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.398, allocations: 43.12 kB / 0.5186 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.3982, allocations: 137.7 kB / 0.5187 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3982, allocations: 0 / 0.5187 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3982, allocations: 0 / 0.5187 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.3982, allocations: 0 / 0.5187 GB, free: 35.57 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004836/0.3987, allocations: 446.6 kB / 0.5191 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3988, allocations: 11.62 kB / 0.5192 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.3988, allocations: 13.95 kB / 0.5192 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.399, allocations: 220.3 kB / 0.5194 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.399, allocations: 384 / 0.5194 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.3991, allocations: 11.03 kB / 0.5194 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3992, allocations: 61.22 kB / 0.5194 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3992, allocations: 0 / 0.5194 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.3992, allocations: 4 kB / 0.5194 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3992, allocations: 0 / 0.5194 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.874e-05/0.3993, allocations: 19.47 kB / 0.5195 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.3997, allocations: 320.2 kB / 0.5198 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.4, allocations: 58.25 kB / 0.5198 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.4, allocations: 21.64 kB / 0.5198 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.4001, allocations: 6.844 kB / 0.5199 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.4003, allocations: 71.48 kB / 0.5199 GB, free: 34.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.4003, allocations: 3.938 kB / 0.5199 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006923/0.401, allocations: 237.7 kB / 0.5202 GB, free: 34.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.401, allocations: 58.34 kB / 0.5202 GB, free: 34.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.4012, allocations: 235.1 kB / 0.5204 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.4012, allocations: 28.48 kB / 0.5205 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.4012, allocations: 117 kB / 0.5206 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.4013, allocations: 33.03 kB / 0.5206 GB, free: 33.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.4013, allocations: 30.34 kB / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.414e-05/0.4014, allocations: 325 kB / 0.5209 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.4014, allocations: 26.19 kB / 0.521 GB, free: 33.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.141e-05/0.4015, allocations: 53.06 kB / 0.521 GB, free: 33.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.4017, allocations: 79.88 kB / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4017, allocations: 0 / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001796/0.4019, allocations: 128.3 kB / 0.5212 GB, free: 33.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4019, allocations: 5.625 kB / 0.5212 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4019, allocations: 3.938 kB / 0.5212 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4019, allocations: 0 / 0.5212 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.268e-05/0.402, allocations: 27.16 kB / 0.5213 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.402, allocations: 3.938 kB / 0.5213 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.4021, allocations: 2.844 kB / 0.5213 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4021, allocations: 6.75 kB / 0.5213 GB, free: 33.44 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 (13): * Single equations (assignments): 13 * 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.023e-05/0.4022, allocations: 130.4 kB / 0.5214 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.4022, allocations: 13.53 kB / 0.5214 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.4023, allocations: 23.08 kB / 0.5214 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4023, allocations: 2.875 kB / 0.5214 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4023, allocations: 11.88 kB / 0.5214 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4023, allocations: 4 kB / 0.5214 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.4027, allocations: 453 kB / 0.5219 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4027, allocations: 0 / 0.5219 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.4028, allocations: 19.62 kB / 0.5219 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4028, allocations: 0 / 0.5219 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4028, allocations: 2.688 kB / 0.5219 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4028, allocations: 6.812 kB / 0.5219 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4028, allocations: 0 / 0.5219 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.4033, allocations: 0.8347 MB / 0.5227 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.4034, allocations: 90.17 kB / 0.5228 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.4034, allocations: 6.531 kB / 0.5228 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.4035, allocations: 10.27 kB / 0.5228 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.4035, allocations: 14.19 kB / 0.5228 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.4036, allocations: 5.781 kB / 0.5228 GB, free: 31.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.4037, allocations: 180.6 kB / 0.523 GB, free: 31.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4037, allocations: 0 / 0.523 GB, free: 31.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000384/0.4041, allocations: 34.64 kB / 0.523 GB, free: 31.88 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 (11): * Single equations (assignments): 9 * 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.001128/0.4052, allocations: 0.497 MB / 0.5235 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.4054, allocations: 80.23 kB / 0.5236 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4054, allocations: 0 / 0.5236 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.031e-05/0.4055, allocations: 38.58 kB / 0.5236 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.0003187/0.4059, allocations: 34.08 kB / 0.5237 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.4064, allocations: 458.8 kB / 0.5241 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.4066, allocations: 0.7283 MB / 0.5248 GB, free: 30.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.671e-05/0.4066, allocations: 16.53 kB / 0.5248 GB, free: 30.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.4067, allocations: 17.97 kB / 0.5249 GB, free: 30.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.9e-07/0.4067, allocations: 0 / 0.5249 GB, free: 30.5 MB / 378.7 MB Notification: Performance of Templates: time 0.003968/0.4106, allocations: 1.979 MB / 0.5268 GB, free: 30.28 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches