Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.00116, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2455/0.2455, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 76.09 kB / 481.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4767, allocations: 62.44 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003765/0.4805, allocations: 1.754 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.4825, allocations: 1.021 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.746e-05/0.4826, allocations: 1.312 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.483, allocations: 51.91 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.4834, allocations: 106.3 kB / 0.534 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.4836, allocations: 79.36 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.4839, allocations: 128.5 kB / 0.5342 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.484, allocations: 15.95 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.4842, allocations: 57.86 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.4843, allocations: 45.72 kB / 0.5343 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.4843, allocations: 5.5 kB / 0.5343 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.4845, allocations: 65.16 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/0.4846, allocations: 33.47 kB / 0.5344 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.313e-05/0.4847, allocations: 45.36 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.485, allocations: 151.6 kB / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.485, allocations: 0 / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.485, allocations: 1.375 kB / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.485, allocations: 0 / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008057/0.4858, allocations: 436.3 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4859, allocations: 9.625 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.4859, allocations: 14.25 kB / 0.535 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.4864, allocations: 232.7 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.4864, allocations: 1.75 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.4864, allocations: 8.25 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.4867, allocations: 78.2 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4867, allocations: 0 / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.4867, allocations: 5.375 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.4867, allocations: 0 / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.4868, allocations: 44.7 kB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.4874, allocations: 322.6 kB / 0.5357 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.4877, allocations: 84.56 kB / 0.5357 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.659e-05/0.4878, allocations: 26.98 kB / 0.5358 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.4879, allocations: 10.28 kB / 0.5358 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.4881, allocations: 75.64 kB / 0.5358 GB, free: 9.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.4881, allocations: 4 kB / 0.5358 GB, free: 9.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001008/0.4891, allocations: 302.5 kB / 0.5361 GB, free: 9.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.4892, allocations: 57.5 kB / 0.5362 GB, free: 9.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.4894, allocations: 194.7 kB / 0.5364 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.4894, allocations: 30.83 kB / 0.5364 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.017e-05/0.4895, allocations: 101.6 kB / 0.5365 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.4896, allocations: 42.36 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.4897, allocations: 35.8 kB / 0.5366 GB, free: 9.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4899, allocations: 327 kB / 0.5369 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.49, allocations: 39.08 kB / 0.5369 GB, free: 8.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.4901, allocations: 67.22 kB / 0.537 GB, free: 8.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.4903, allocations: 96.95 kB / 0.5371 GB, free: 8.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4903, allocations: 0 / 0.5371 GB, free: 8.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003636/0.4907, allocations: 157.7 kB / 0.5372 GB, free: 8.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4907, allocations: 5 kB / 0.5372 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4907, allocations: 0.9688 kB / 0.5372 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.4907, allocations: 1.25 kB / 0.5372 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.4908, allocations: 24.33 kB / 0.5373 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4908, allocations: 5.125 kB / 0.5373 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.4909, allocations: 6.062 kB / 0.5373 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.4909, allocations: 4.344 kB / 0.5373 GB, free: 8.594 MB / 398.1 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 (15): * Single equations (assignments): 15 * 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.0001352/0.4911, allocations: 136.9 kB / 0.5374 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.4911, allocations: 14.16 kB / 0.5374 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.856e-05/0.4912, allocations: 28.36 kB / 0.5374 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4912, allocations: 1.344 kB / 0.5374 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4912, allocations: 5.188 kB / 0.5375 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4912, allocations: 0 / 0.5375 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.4919, allocations: 492.4 kB / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4919, allocations: 5.25 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.4919, allocations: 18.38 kB / 0.5379 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4919, allocations: 1.281 kB / 0.5379 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.492, allocations: 6.75 kB / 0.538 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.492, allocations: 5.141 kB / 0.538 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.492, allocations: 1.344 kB / 0.538 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.4923, allocations: 261 kB / 0.5382 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.4924, allocations: 88.89 kB / 0.5383 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.4924, allocations: 2.625 kB / 0.5383 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.4925, allocations: 6.844 kB / 0.5383 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.4925, allocations: 9.141 kB / 0.5383 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.4926, allocations: 5.344 kB / 0.5383 GB, free: 7.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.4927, allocations: 151.1 kB / 0.5385 GB, free: 7.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4927, allocations: 0.9688 kB / 0.5385 GB, free: 7.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.493, allocations: 34.89 kB / 0.5385 GB, free: 7.531 MB / 398.1 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 (13): * Single equations (assignments): 11 * 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.001302/0.4943, allocations: 0.5054 MB / 0.539 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.4946, allocations: 101.6 kB / 0.5391 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4946, allocations: 0 / 0.5391 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.4948, allocations: 49.23 kB / 0.5391 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.4952, allocations: 29.64 kB / 0.5392 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.4958, allocations: 279.8 kB / 0.5394 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.4962, allocations: 0.716 MB / 0.5401 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.891e-05/0.4963, allocations: 29.75 kB / 0.5402 GB, free: 6.242 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.4963, allocations: 27.14 kB / 0.5402 GB, free: 6.227 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4963, allocations: 3.938 kB / 0.5402 GB, free: 6.223 MB / 398.1 MB Notification: Performance of Templates: time 0.005941/0.5023, allocations: 2.183 MB / 0.5423 GB, free: 5.133 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches