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.001505/0.001505, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001506, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, 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.229/0.229, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 79.88 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4047, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003218/0.4079, allocations: 1.731 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.4096, allocations: 1.023 MB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.886e-05/0.4097, allocations: 5.906 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.4101, allocations: 47.06 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.4104, allocations: 92.2 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.4106, allocations: 83.16 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.4108, allocations: 101.4 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.4109, allocations: 19.48 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.4111, allocations: 43.44 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.453e-05/0.4111, allocations: 30.8 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.4112, allocations: 4.125 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.4113, allocations: 43.47 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.958e-05/0.4114, allocations: 25.48 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.64e-05/0.4114, allocations: 39.94 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.4117, allocations: 126.2 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4117, allocations: 7.938 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4117, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.4117, allocations: 3.938 kB / 0.5344 GB, free: 11.05 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.0006298/0.4124, allocations: 435 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4124, allocations: 9.625 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.4125, allocations: 10.34 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.4127, allocations: 219.4 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4128, allocations: 1.75 kB / 0.5351 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.4128, allocations: 17.48 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.413, allocations: 50.05 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.413, allocations: 5.375 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.413, allocations: 0 / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.413, allocations: 1.375 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.131e-05/0.4131, allocations: 17.61 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.4135, allocations: 297.5 kB / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.4137, allocations: 65.86 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.4137, allocations: 22.48 kB / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.4138, allocations: 0 / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.4139, allocations: 69.12 kB / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4139, allocations: 1.375 kB / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005424/0.4145, allocations: 182.3 kB / 0.5357 GB, free: 9.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.4145, allocations: 52.56 kB / 0.5358 GB, free: 9.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.4148, allocations: 236.5 kB / 0.536 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.4148, allocations: 34.83 kB / 0.5361 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.4149, allocations: 106.5 kB / 0.5362 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.4149, allocations: 24.11 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.4149, allocations: 20.16 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4151, allocations: 334.6 kB / 0.5365 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.528e-05/0.4151, allocations: 23.31 kB / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.4152, allocations: 35.77 kB / 0.5366 GB, free: 8.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.4153, allocations: 54.98 kB / 0.5366 GB, free: 8.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4153, allocations: 0 / 0.5366 GB, free: 8.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001783/0.4155, allocations: 108.6 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4155, allocations: 8.641 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4155, allocations: 5.094 kB / 0.5367 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4156, allocations: 1.062 kB / 0.5367 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.7e-05/0.4156, allocations: 16.91 kB / 0.5368 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4157, allocations: 1.094 kB / 0.5368 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.4157, allocations: 14.25 kB / 0.5368 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.4157, allocations: 7.203 kB / 0.5368 GB, free: 8.832 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.0001097/0.4158, allocations: 127.8 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.4159, allocations: 9.75 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.4159, allocations: 24.08 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4159, allocations: 1.062 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4159, allocations: 1.25 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.416, allocations: 3.938 kB / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.4164, allocations: 409.5 kB / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4164, allocations: 0 / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.4164, allocations: 8.5 kB / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4164, allocations: 1.125 kB / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.4165, allocations: 9.359 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4165, allocations: 4.969 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4165, allocations: 1.156 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.4167, allocations: 205.7 kB / 0.5376 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.4168, allocations: 88.36 kB / 0.5376 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.4168, allocations: 5.125 kB / 0.5376 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.4169, allocations: 10.22 kB / 0.5377 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.4169, allocations: 11.55 kB / 0.5377 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.4169, allocations: 3.219 kB / 0.5377 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.4171, allocations: 177.4 kB / 0.5378 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4171, allocations: 0 / 0.5378 GB, free: 7.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.4173, allocations: 26.31 kB / 0.5379 GB, free: 7.852 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.001001/0.4183, allocations: 448.8 kB / 0.5383 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.4185, allocations: 58.86 kB / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4186, allocations: 0 / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.651e-05/0.4186, allocations: 29.05 kB / 0.5384 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.419, allocations: 39.61 kB / 0.5384 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.4194, allocations: 270.9 kB / 0.5387 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.4197, allocations: 0.7053 MB / 0.5394 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.14e-05/0.4198, allocations: 23.19 kB / 0.5394 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.4198, allocations: 23.19 kB / 0.5394 GB, free: 6.629 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4198, allocations: 0 / 0.5394 GB, free: 6.629 MB / 398.1 MB Notification: Performance of Templates: time 0.00492/0.4247, allocations: 1.755 MB / 0.5411 GB, free: 5.742 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches