Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00172/0.00172, allocations: 117.6 kB / 17.78 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.002444/0.002444, allocations: 204.7 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.608/1.608, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 79.88 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3909, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.004079/0.3951, allocations: 1.738 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.397, allocations: 1.022 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.3971, allocations: 1.156 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.3976, allocations: 49.84 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.3981, allocations: 103 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.3984, allocations: 82.56 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.3986, allocations: 105 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3987, allocations: 6.969 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.678e-05/0.3988, allocations: 44.75 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.16e-05/0.3989, allocations: 38.22 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.3989, allocations: 3.688 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.399, allocations: 39.27 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.3991, allocations: 27.22 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.3992, allocations: 49.3 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.3994, allocations: 144.8 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3994, allocations: 0 / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3994, allocations: 1.375 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3994, allocations: 0 / 0.5344 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.0005741/0.4, allocations: 441.6 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.4, allocations: 9.625 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.4001, allocations: 15.62 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.4004, allocations: 222.8 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.4005, allocations: 7.125 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.4005, allocations: 9.484 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.4007, allocations: 57.98 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.4007, allocations: 1.375 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.4007, allocations: 3.938 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4007, allocations: 1.375 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.08e-05/0.4008, allocations: 17.61 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.4012, allocations: 292.4 kB / 0.5355 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.4013, allocations: 69.84 kB / 0.5355 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.4014, allocations: 21.09 kB / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.4014, allocations: 1.375 kB / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.4016, allocations: 69.14 kB / 0.5356 GB, free: 9.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.4016, allocations: 4 kB / 0.5356 GB, free: 9.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005304/0.4022, allocations: 185 kB / 0.5358 GB, free: 9.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.4022, allocations: 52.44 kB / 0.5358 GB, free: 9.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.4025, allocations: 271.6 kB / 0.5361 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.4025, allocations: 31.11 kB / 0.5361 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.4026, allocations: 111 kB / 0.5362 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.4027, allocations: 27.39 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.4027, allocations: 20.09 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4029, allocations: 336.2 kB / 0.5366 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.087e-05/0.4029, allocations: 23.39 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.232e-05/0.403, allocations: 39.02 kB / 0.5367 GB, free: 8.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.4031, allocations: 55.05 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4032, allocations: 0 / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002066/0.4034, allocations: 113.5 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.4034, allocations: 5.625 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4034, allocations: 0 / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4034, allocations: 0.9688 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.4035, allocations: 17.64 kB / 0.5369 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4036, allocations: 1.344 kB / 0.5369 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.4036, allocations: 6.219 kB / 0.5369 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.4036, allocations: 2.5 kB / 0.5369 GB, free: 8.777 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.0001249/0.4038, allocations: 137.6 kB / 0.537 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.4038, allocations: 22.31 kB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.313e-05/0.4039, allocations: 25.48 kB / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4039, allocations: 1.156 kB / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.4039, allocations: 0 / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4039, allocations: 4.969 kB / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.4044, allocations: 408 kB / 0.5374 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4044, allocations: 1.188 kB / 0.5374 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.4044, allocations: 15.14 kB / 0.5374 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.4044, allocations: 5.062 kB / 0.5375 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4045, allocations: 5.844 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4045, allocations: 1.062 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.4045, allocations: 1.312 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.4047, allocations: 205.5 kB / 0.5377 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.4048, allocations: 88.52 kB / 0.5377 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.4048, allocations: 14.02 kB / 0.5378 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.4049, allocations: 6.281 kB / 0.5378 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.405, allocations: 4.094 kB / 0.5378 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.405, allocations: 10.7 kB / 0.5378 GB, free: 7.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.4052, allocations: 198.5 kB / 0.538 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4052, allocations: 0 / 0.538 GB, free: 7.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.4054, allocations: 22.12 kB / 0.538 GB, free: 7.777 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.001113/0.4066, allocations: 463.2 kB / 0.5384 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.4068, allocations: 58.3 kB / 0.5385 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4068, allocations: 0 / 0.5385 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.607e-05/0.4069, allocations: 34.3 kB / 0.5385 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.4072, allocations: 34.53 kB / 0.5385 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.4077, allocations: 285.6 kB / 0.5388 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.408, allocations: 0.7168 MB / 0.5395 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.052e-05/0.4081, allocations: 17.48 kB / 0.5395 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.4081, allocations: 23.66 kB / 0.5396 GB, free: 6.543 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4081, allocations: 0 / 0.5396 GB, free: 6.543 MB / 398.1 MB Notification: Performance of Templates: time 0.004541/0.4127, allocations: 1.771 MB / 0.5413 GB, free: 5.648 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches