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.001219/0.001219, allocations: 114.3 kB / 18.45 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.001386/0.001386, allocations: 210 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2425/0.2425, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 83.88 kB / 482.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3879, allocations: 62.43 MB / 0.5317 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003701/0.3917, allocations: 1.736 MB / 0.5334 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.3937, allocations: 1.022 MB / 0.5344 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.3939, allocations: 1.781 kB / 0.5344 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.3943, allocations: 50.5 kB / 0.5345 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004815/0.3948, allocations: 101 kB / 0.5346 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.3952, allocations: 76.61 kB / 0.5346 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.3954, allocations: 104.5 kB / 0.5347 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3956, allocations: 14.89 kB / 0.5348 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.3957, allocations: 40.89 kB / 0.5348 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.616e-05/0.3958, allocations: 37.48 kB / 0.5348 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.3959, allocations: 4.031 kB / 0.5348 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.396, allocations: 40.08 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.663e-05/0.3961, allocations: 28.8 kB / 0.5349 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.293e-05/0.3962, allocations: 40.77 kB / 0.5349 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.3965, allocations: 126.7 kB / 0.5351 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3965, allocations: 5.094 kB / 0.5351 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3965, allocations: 0 / 0.5351 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3965, allocations: 0 / 0.5351 GB, free: 11.23 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.0007338/0.3972, allocations: 432.2 kB / 0.5355 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3973, allocations: 10.22 kB / 0.5355 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.3974, allocations: 14.45 kB / 0.5355 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.3978, allocations: 226.8 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3978, allocations: 2.906 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.3978, allocations: 9.438 kB / 0.5357 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.398, allocations: 54.48 kB / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.398, allocations: 0 / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3981, allocations: 1.156 kB / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3981, allocations: 0 / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.3982, allocations: 19.3 kB / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.3986, allocations: 297 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.3988, allocations: 62.03 kB / 0.5361 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.3989, allocations: 21 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.3989, allocations: 5.281 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.3991, allocations: 65.61 kB / 0.5362 GB, free: 10.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.3991, allocations: 0 / 0.5362 GB, free: 10.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006162/0.3997, allocations: 183.4 kB / 0.5364 GB, free: 9.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.3998, allocations: 52.59 kB / 0.5365 GB, free: 9.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.4001, allocations: 235.8 kB / 0.5367 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.4001, allocations: 26.83 kB / 0.5367 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.4002, allocations: 111.4 kB / 0.5368 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.4002, allocations: 30.72 kB / 0.5368 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.4003, allocations: 21.53 kB / 0.5369 GB, free: 9.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4004, allocations: 330.6 kB / 0.5372 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.319e-05/0.4005, allocations: 26.7 kB / 0.5372 GB, free: 9.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.748e-05/0.4006, allocations: 36.17 kB / 0.5372 GB, free: 9.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.4007, allocations: 57.83 kB / 0.5373 GB, free: 9.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4007, allocations: 1.125 kB / 0.5373 GB, free: 9.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002263/0.4009, allocations: 100.2 kB / 0.5374 GB, free: 9.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4009, allocations: 5.469 kB / 0.5374 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.401, allocations: 4 kB / 0.5374 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.401, allocations: 1.094 kB / 0.5374 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.4011, allocations: 21.08 kB / 0.5374 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.4011, allocations: 1.031 kB / 0.5374 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.4012, allocations: 14.06 kB / 0.5374 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4012, allocations: 3.25 kB / 0.5374 GB, free: 9.02 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.0001223/0.4013, allocations: 136.9 kB / 0.5376 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.4014, allocations: 10.28 kB / 0.5376 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.4014, allocations: 23.14 kB / 0.5376 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4014, allocations: 2 kB / 0.5376 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.4014, allocations: 0 / 0.5376 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.4015, allocations: 3.938 kB / 0.5376 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.402, allocations: 405.3 kB / 0.538 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.402, allocations: 1.281 kB / 0.538 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.402, allocations: 7.406 kB / 0.538 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.402, allocations: 1.062 kB / 0.538 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.4021, allocations: 13.94 kB / 0.538 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4021, allocations: 0.9375 kB / 0.538 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4021, allocations: 0.75 kB / 0.538 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.4023, allocations: 201.4 kB / 0.5382 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.4024, allocations: 88.2 kB / 0.5383 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.4024, allocations: 14.56 kB / 0.5383 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.4025, allocations: 1.25 kB / 0.5383 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.4026, allocations: 15.69 kB / 0.5383 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.4026, allocations: 7.125 kB / 0.5383 GB, free: 8.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001776/0.4028, allocations: 178.2 kB / 0.5385 GB, free: 8.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4028, allocations: 0 / 0.5385 GB, free: 8.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.4031, allocations: 24.62 kB / 0.5385 GB, free: 8.031 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.001167/0.4043, allocations: 451 kB / 0.539 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.4045, allocations: 66.73 kB / 0.539 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4045, allocations: 0 / 0.539 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-05/0.4046, allocations: 33.23 kB / 0.5391 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.4049, allocations: 28.92 kB / 0.5391 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.4056, allocations: 293.8 kB / 0.5394 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.4059, allocations: 0.7103 MB / 0.5401 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.406, allocations: 18.89 kB / 0.5401 GB, free: 6.793 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.406, allocations: 0 / 0.5401 GB, free: 6.793 MB / 398.1 MB Notification: Performance of Templates: time 0.005454/0.4115, allocations: 2.046 MB / 0.5421 GB, free: 5.73 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