Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001551/0.001551, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002139/0.002139, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2481/0.2481, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 75.88 kB / 482.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3971, allocations: 62.44 MB / 0.5317 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003784/0.4009, allocations: 1.734 MB / 0.5334 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.403, allocations: 1.026 MB / 0.5344 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.978e-05/0.4031, allocations: 1.062 kB / 0.5344 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.4035, allocations: 48.05 kB / 0.5345 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003604/0.4038, allocations: 96.67 kB / 0.5346 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.4041, allocations: 75.47 kB / 0.5346 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.4043, allocations: 113.4 kB / 0.5348 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.4044, allocations: 10.94 kB / 0.5348 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.4046, allocations: 44.16 kB / 0.5348 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.572e-05/0.4047, allocations: 38.09 kB / 0.5348 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.4047, allocations: 4.406 kB / 0.5348 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.4048, allocations: 39.86 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.911e-05/0.4049, allocations: 24.89 kB / 0.5349 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.929e-05/0.405, allocations: 39.64 kB / 0.5349 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.4053, allocations: 132 kB / 0.5351 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4053, allocations: 0 / 0.5351 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4053, allocations: 1.219 kB / 0.5351 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4053, 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.0006843/0.406, allocations: 440.2 kB / 0.5355 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.406, allocations: 9.469 kB / 0.5355 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.4061, allocations: 9.969 kB / 0.5355 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.4065, allocations: 216.3 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.4065, allocations: 5.75 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.4065, allocations: 13.48 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.4067, allocations: 54.05 kB / 0.5358 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.4067, allocations: 1.375 kB / 0.5358 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4068, allocations: 0 / 0.5358 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4068, allocations: 1.375 kB / 0.5358 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.083e-05/0.4069, allocations: 21.55 kB / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.4074, allocations: 297.5 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.4076, allocations: 57.92 kB / 0.5362 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.4076, allocations: 22.47 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.4077, allocations: 3.938 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.4078, allocations: 65.14 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.4078, allocations: 1.375 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006114/0.4085, allocations: 186.2 kB / 0.5364 GB, free: 9.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.4085, allocations: 52.84 kB / 0.5365 GB, free: 9.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.4088, allocations: 236.7 kB / 0.5367 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.4089, allocations: 26.77 kB / 0.5367 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9e-05/0.409, allocations: 106.8 kB / 0.5368 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.409, allocations: 23.16 kB / 0.5368 GB, free: 9.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.4091, allocations: 28.55 kB / 0.5369 GB, free: 9.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4092, allocations: 331.2 kB / 0.5372 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.972e-05/0.4093, allocations: 22.08 kB / 0.5372 GB, free: 9.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.1e-05/0.4094, allocations: 39.8 kB / 0.5372 GB, free: 9.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.4095, allocations: 59.77 kB / 0.5373 GB, free: 9.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4096, allocations: 0 / 0.5373 GB, free: 9.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002289/0.4098, allocations: 108.8 kB / 0.5374 GB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4098, allocations: 8.469 kB / 0.5374 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.4098, allocations: 5.5 kB / 0.5374 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4099, allocations: 1.406 kB / 0.5374 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.41, allocations: 17.3 kB / 0.5374 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.41, allocations: 0 / 0.5374 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.41, allocations: 6.438 kB / 0.5374 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.41, allocations: 2.219 kB / 0.5374 GB, free: 9.023 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.4102, allocations: 134.1 kB / 0.5376 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.4102, allocations: 10.28 kB / 0.5376 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.4103, allocations: 24.69 kB / 0.5376 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4103, allocations: 1.156 kB / 0.5376 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4103, allocations: 0 / 0.5376 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.4103, allocations: 7.922 kB / 0.5376 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.4108, allocations: 402.4 kB / 0.538 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4108, allocations: 0 / 0.538 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.4109, allocations: 15.58 kB / 0.538 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4109, allocations: 1.156 kB / 0.538 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4109, allocations: 10.12 kB / 0.538 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4109, allocations: 1.312 kB / 0.538 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4109, allocations: 0 / 0.538 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.4112, allocations: 197.4 kB / 0.5382 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.4113, allocations: 88.36 kB / 0.5383 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.4113, allocations: 10.2 kB / 0.5383 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.4114, allocations: 5.062 kB / 0.5383 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.4114, allocations: 11.44 kB / 0.5383 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.4114, allocations: 11.52 kB / 0.5383 GB, free: 8.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.4116, allocations: 173.9 kB / 0.5385 GB, free: 8.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4116, allocations: 0 / 0.5385 GB, free: 8.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.4119, allocations: 29.33 kB / 0.5385 GB, free: 8.035 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.001187/0.4131, allocations: 452.8 kB / 0.539 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.4134, allocations: 62.34 kB / 0.539 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4134, allocations: 0 / 0.539 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.825e-05/0.4135, allocations: 25.64 kB / 0.539 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.4138, allocations: 42.67 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.0006202/0.4145, allocations: 294.6 kB / 0.5394 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.4149, allocations: 0.7132 MB / 0.5401 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.415, allocations: 16.44 kB / 0.5401 GB, free: 6.793 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.415, allocations: 0 / 0.5401 GB, free: 6.793 MB / 398.1 MB Notification: Performance of Templates: time 0.005073/0.4201, allocations: 2.044 MB / 0.5421 GB, free: 5.73 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches