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.001094/0.001094, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.001081, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 80.08 kB / 481.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.5003, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00343/0.5038, allocations: 1.749 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.5056, allocations: 1.021 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.088e-05/0.5057, allocations: 5.375 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.5061, allocations: 83.45 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003525/0.5065, allocations: 127.3 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.5067, allocations: 80.3 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.5069, allocations: 113.2 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.5071, allocations: 16.25 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.5072, allocations: 61.69 kB / 0.5343 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.5073, allocations: 51.34 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.5073, allocations: 5.5 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.5075, allocations: 62.45 kB / 0.5344 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.5075, allocations: 35.98 kB / 0.5344 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.5076, allocations: 33.38 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.5079, allocations: 141.5 kB / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5079, allocations: 0 / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5079, allocations: 1.375 kB / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.5079, allocations: 4 kB / 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006134/0.5085, allocations: 440.5 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.5086, allocations: 9.812 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.5086, allocations: 18.22 kB / 0.535 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.5089, allocations: 226.1 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.5089, allocations: 1.438 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.509, allocations: 7.406 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.5091, allocations: 56.86 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.5092, allocations: 4 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.5092, allocations: 5.203 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.5092, allocations: 0 / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.719e-05/0.5093, allocations: 24.55 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.5098, allocations: 305.4 kB / 0.5356 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.5101, allocations: 61.61 kB / 0.5357 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.147e-05/0.5102, allocations: 21.98 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.5102, allocations: 1.094 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.5104, allocations: 74.75 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 3.336e-06/0.5104, allocations: 0 / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009539/0.5114, allocations: 247.5 kB / 0.536 GB, free: 9.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/0.5115, allocations: 60.5 kB / 0.5361 GB, free: 9.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.5118, allocations: 226.2 kB / 0.5363 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.5118, allocations: 30.77 kB / 0.5363 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.5119, allocations: 105.8 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.512, allocations: 33.45 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.512, allocations: 29.72 kB / 0.5365 GB, free: 9.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.5122, allocations: 331.2 kB / 0.5368 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.982e-05/0.5123, allocations: 23.28 kB / 0.5368 GB, free: 8.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.5124, allocations: 55.72 kB / 0.5369 GB, free: 8.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.5126, allocations: 80.14 kB / 0.5369 GB, free: 8.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5126, allocations: 1 kB / 0.5369 GB, free: 8.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002768/0.5129, allocations: 125.5 kB / 0.5371 GB, free: 8.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.5129, allocations: 5.875 kB / 0.5371 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.5129, allocations: 1.281 kB / 0.5371 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.5129, allocations: 0 / 0.5371 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.513, allocations: 29.48 kB / 0.5371 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.5131, allocations: 9.719 kB / 0.5371 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.5131, allocations: 1.844 kB / 0.5371 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.5131, allocations: 11.98 kB / 0.5371 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.0001486/0.5133, allocations: 125.2 kB / 0.5372 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.5133, allocations: 14.91 kB / 0.5373 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.278e-05/0.5134, allocations: 23.83 kB / 0.5373 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5134, allocations: 1.156 kB / 0.5373 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.5134, allocations: 7.938 kB / 0.5373 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5134, allocations: 1.125 kB / 0.5373 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.5141, allocations: 457.7 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5141, allocations: 0.9688 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.587e-05/0.5142, allocations: 19.61 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5142, allocations: 1.156 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5142, allocations: 2.656 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.5142, allocations: 1.281 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.5142, allocations: 5.344 kB / 0.5378 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.5146, allocations: 231 kB / 0.538 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.5147, allocations: 91.88 kB / 0.5381 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.5147, allocations: 6.312 kB / 0.5381 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.5148, allocations: 6.219 kB / 0.5381 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.5148, allocations: 20.25 kB / 0.5381 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.5149, allocations: 5.219 kB / 0.5381 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.515, allocations: 164 kB / 0.5383 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5151, allocations: 0 / 0.5383 GB, free: 7.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.5153, allocations: 32.89 kB / 0.5383 GB, free: 7.621 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.001318/0.5167, allocations: 0.4886 MB / 0.5388 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.5169, allocations: 93.53 kB / 0.5389 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5169, allocations: 1.188 kB / 0.5389 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.16e-05/0.517, allocations: 39.58 kB / 0.5389 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.5174, allocations: 47.09 kB / 0.5389 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.518, allocations: 274.5 kB / 0.5392 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.5184, allocations: 0.7187 MB / 0.5399 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.738e-05/0.5184, allocations: 20.5 kB / 0.5399 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.5185, allocations: 16.78 kB / 0.5399 GB, free: 6.34 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.5185, allocations: 0 / 0.5399 GB, free: 6.34 MB / 398.1 MB Notification: Performance of Templates: time 0.006153/0.5246, allocations: 2.009 MB / 0.5419 GB, free: 5.32 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches