Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001515/0.001516, allocations: 115.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001786/0.001785, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2404/0.2404, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 76.08 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3906, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003472/0.3941, allocations: 1.735 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.396, allocations: 1.022 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3962, allocations: 5.344 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.3965, allocations: 44.08 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.3969, allocations: 100.1 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.3971, allocations: 79.77 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.3973, allocations: 101.1 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3974, allocations: 18.98 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.3976, allocations: 35.64 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.3977, allocations: 38.31 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.3977, allocations: 3.656 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.3978, allocations: 40.27 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.3979, allocations: 28.75 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.398, allocations: 45.11 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.3982, allocations: 120.9 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3982, allocations: 4 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3982, allocations: 3.938 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3982, allocations: 1.375 kB / 0.5351 GB, free: 11.02 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007557/0.399, allocations: 429.6 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3991, allocations: 9.625 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.3991, allocations: 14.34 kB / 0.5355 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.3994, allocations: 223.4 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.3995, allocations: 1.75 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.3995, allocations: 10.88 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3997, allocations: 54.05 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3997, allocations: 0 / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3997, allocations: 1.375 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.3997, allocations: 0 / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.311e-05/0.3998, allocations: 22.98 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.4003, allocations: 297.5 kB / 0.5361 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.4005, allocations: 57.94 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/0.4005, allocations: 25.08 kB / 0.5362 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.4006, allocations: 5.312 kB / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.4007, allocations: 69.14 kB / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.486e-06/0.4008, allocations: 0 / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005906/0.4014, allocations: 183.5 kB / 0.5364 GB, free: 9.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.4014, allocations: 52.5 kB / 0.5365 GB, free: 9.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.4017, allocations: 244.2 kB / 0.5367 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.4017, allocations: 30.98 kB / 0.5367 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.787e-05/0.4018, allocations: 110.8 kB / 0.5368 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.4019, allocations: 18.91 kB / 0.5368 GB, free: 9.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.4019, allocations: 23.92 kB / 0.5369 GB, free: 9.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4021, allocations: 335.2 kB / 0.5372 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.4021, allocations: 18.92 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.4022, allocations: 35.42 kB / 0.5372 GB, free: 8.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.4024, allocations: 59.38 kB / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.4024, allocations: 0 / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00021/0.4026, allocations: 109.1 kB / 0.5374 GB, free: 8.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4026, allocations: 5.469 kB / 0.5374 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4026, allocations: 4 kB / 0.5374 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4027, allocations: 1.312 kB / 0.5374 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.982e-05/0.4028, allocations: 21.17 kB / 0.5374 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4028, allocations: 1.438 kB / 0.5374 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.4028, allocations: 9.906 kB / 0.5374 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4029, allocations: 2.281 kB / 0.5374 GB, free: 8.809 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 (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 0.0001253/0.403, allocations: 132.5 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.403, allocations: 9.656 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.4031, allocations: 20.09 kB / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.4031, allocations: 5.234 kB / 0.5376 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4031, allocations: 0 / 0.5376 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4031, allocations: 5.062 kB / 0.5376 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.4036, allocations: 401.2 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4036, allocations: 1.156 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.4037, allocations: 11.08 kB / 0.538 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4037, allocations: 1.406 kB / 0.538 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.4037, allocations: 9.25 kB / 0.538 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.4037, allocations: 1.156 kB / 0.538 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4037, allocations: 0 / 0.538 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.404, allocations: 206.4 kB / 0.5382 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.4041, allocations: 89.27 kB / 0.5383 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.4041, allocations: 17.17 kB / 0.5383 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.4042, allocations: 5.031 kB / 0.5383 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.4042, allocations: 12 kB / 0.5383 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.4043, allocations: 7.484 kB / 0.5383 GB, free: 7.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.4044, allocations: 170.2 kB / 0.5385 GB, free: 7.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4044, allocations: 0 / 0.5385 GB, free: 7.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.4047, allocations: 28.92 kB / 0.5385 GB, free: 7.824 MB / 398.1 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.001176/0.4059, allocations: 459.2 kB / 0.539 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.4061, allocations: 53.84 kB / 0.539 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4061, allocations: 1.094 kB / 0.539 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.147e-05/0.4062, allocations: 33.7 kB / 0.539 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.4066, allocations: 34.5 kB / 0.5391 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.4072, allocations: 287.3 kB / 0.5394 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.4075, allocations: 0.7099 MB / 0.54 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.4075, allocations: 23.16 kB / 0.5401 GB, free: 6.582 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4075, allocations: 0 / 0.5401 GB, free: 6.582 MB / 398.1 MB Notification: Performance of Templates: time 0.004337/0.4119, allocations: 2.045 MB / 0.5421 GB, free: 5.52 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches