Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001621/0.001621, 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.00204/0.00204, allocations: 208 kB / 19.41 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.408/1.408, 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.2438/0.2438, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 80.09 kB / 482.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4012, allocations: 62.42 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003345/0.4046, allocations: 1.757 MB / 0.5335 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.4064, allocations: 1.026 MB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.335e-05/0.4065, allocations: 1.375 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.4069, allocations: 88.33 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.4073, allocations: 122.7 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.4075, allocations: 75.16 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.4077, allocations: 119.3 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.4078, allocations: 15.33 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.408, allocations: 62.39 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.4081, allocations: 55.59 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.4081, allocations: 4.719 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.4083, allocations: 58.52 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.4083, allocations: 25.02 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.643e-05/0.4084, allocations: 48.34 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.4087, allocations: 137.9 kB / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4087, allocations: 0 / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4087, allocations: 5.156 kB / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.4087, allocations: 0 / 0.5352 GB, free: 10.95 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006339/0.4093, allocations: 426.4 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4094, allocations: 10.41 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.4094, allocations: 18.38 kB / 0.5357 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.4098, allocations: 221 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.4098, allocations: 2.656 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.4098, allocations: 14.8 kB / 0.5359 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.41, allocations: 64.69 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.41, allocations: 0 / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.4101, allocations: 5.25 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4101, allocations: 1.344 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/0.4101, allocations: 19.77 kB / 0.536 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.4106, allocations: 301.3 kB / 0.5363 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.4109, allocations: 68.61 kB / 0.5363 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/0.4109, allocations: 22.59 kB / 0.5364 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.411, allocations: 1.375 kB / 0.5364 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.4111, allocations: 66.52 kB / 0.5364 GB, free: 9.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.4111, allocations: 0 / 0.5364 GB, free: 9.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000808/0.4119, allocations: 243.5 kB / 0.5367 GB, free: 9.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.412, allocations: 64.77 kB / 0.5367 GB, free: 9.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.4122, allocations: 217.2 kB / 0.5369 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.4123, allocations: 26.77 kB / 0.537 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.4124, allocations: 110.2 kB / 0.5371 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.4124, allocations: 37.17 kB / 0.5371 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.4125, allocations: 29.36 kB / 0.5371 GB, free: 9.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4126, allocations: 327.3 kB / 0.5374 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.4127, allocations: 31.27 kB / 0.5375 GB, free: 8.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.373e-05/0.4128, allocations: 47.23 kB / 0.5375 GB, free: 8.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.4129, allocations: 84.97 kB / 0.5376 GB, free: 8.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4129, allocations: 0 / 0.5376 GB, free: 8.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002455/0.4132, allocations: 122.4 kB / 0.5377 GB, free: 8.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.4132, allocations: 8.859 kB / 0.5377 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4132, allocations: 0.7188 kB / 0.5377 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4132, allocations: 5.688 kB / 0.5377 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.4133, allocations: 20.94 kB / 0.5377 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.4134, allocations: 9.859 kB / 0.5378 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.4134, allocations: 10.52 kB / 0.5378 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.4134, allocations: 6.625 kB / 0.5378 GB, free: 8.66 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 (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 0.0001085/0.4135, allocations: 126.8 kB / 0.5379 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.4136, allocations: 17.73 kB / 0.5379 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.319e-05/0.4136, allocations: 16.47 kB / 0.5379 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.4137, allocations: 5.281 kB / 0.5379 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4137, allocations: 3.938 kB / 0.5379 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4137, allocations: 1.312 kB / 0.5379 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.4142, allocations: 452.8 kB / 0.5384 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4143, allocations: 1.406 kB / 0.5384 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.4143, allocations: 24.14 kB / 0.5384 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.4143, allocations: 0.9375 kB / 0.5384 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.4143, allocations: 6.219 kB / 0.5384 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4143, allocations: 1.312 kB / 0.5384 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4144, allocations: 0.8125 kB / 0.5384 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.4147, allocations: 235 kB / 0.5386 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.4147, allocations: 88.95 kB / 0.5387 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.4148, allocations: 2.375 kB / 0.5387 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.4149, allocations: 10.5 kB / 0.5387 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.4149, allocations: 12.42 kB / 0.5387 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.4149, allocations: 4.938 kB / 0.5387 GB, free: 7.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.4151, allocations: 167.8 kB / 0.5389 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4151, allocations: 0 / 0.5389 GB, free: 7.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.4154, allocations: 28.28 kB / 0.5389 GB, free: 7.633 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 (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.001245/0.4166, allocations: 0.5084 MB / 0.5394 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.4169, allocations: 85.25 kB / 0.5395 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4169, allocations: 0 / 0.5395 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.592e-05/0.417, allocations: 35.84 kB / 0.5395 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.4174, allocations: 45.06 kB / 0.5396 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.418, allocations: 309.3 kB / 0.5399 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.4183, allocations: 0.7146 MB / 0.5406 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.4184, allocations: 18.22 kB / 0.5406 GB, free: 6.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4184, allocations: 0 / 0.5406 GB, free: 6.32 MB / 398.1 MB Notification: Performance of Templates: time 0.004586/0.423, allocations: 2.252 MB / 0.5428 GB, free: 5.164 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches