Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001769/0.001768, allocations: 121.6 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002014/0.002015, allocations: 203.9 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2421/0.2421, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 76.09 kB / 481.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.4719, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004087/0.476, allocations: 1.928 MB / 0.533 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.4782, allocations: 1.12 MB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.4783, allocations: 5.375 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005067/0.4788, allocations: 163.5 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.4794, allocations: 182.4 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.4798, allocations: 115.7 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.4802, allocations: 239.6 kB / 0.5347 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.4804, allocations: 32.48 kB / 0.5348 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.4807, allocations: 115.7 kB / 0.5349 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.4809, allocations: 130.4 kB / 0.535 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.481, allocations: 8.656 kB / 0.535 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.4811, allocations: 71.14 kB / 0.5351 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.972e-05/0.4812, allocations: 51.09 kB / 0.5351 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.4814, allocations: 89.16 kB / 0.5352 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.4818, allocations: 223.3 kB / 0.5354 GB, free: 10.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4818, allocations: 1.219 kB / 0.5354 GB, free: 10.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4818, allocations: 0 / 0.5354 GB, free: 10.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.4818, allocations: 0 / 0.5354 GB, free: 10.37 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009526/0.4828, allocations: 0.5414 MB / 0.536 GB, free: 9.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.4828, allocations: 8.906 kB / 0.536 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.4829, allocations: 25.56 kB / 0.536 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.4834, allocations: 279.1 kB / 0.5363 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.4834, allocations: 11.84 kB / 0.5363 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.4835, allocations: 17.05 kB / 0.5363 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.4837, allocations: 107.3 kB / 0.5364 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.4838, allocations: 3.984 kB / 0.5364 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.4838, allocations: 5.047 kB / 0.5364 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4838, allocations: 2.125 kB / 0.5364 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.4839, allocations: 44.66 kB / 0.5364 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.4846, allocations: 470.3 kB / 0.5369 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.485, allocations: 122.8 kB / 0.537 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.4851, allocations: 49.11 kB / 0.5371 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.4852, allocations: 1.281 kB / 0.5371 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.4854, allocations: 116.7 kB / 0.5372 GB, free: 8.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.4854, allocations: 1.062 kB / 0.5372 GB, free: 8.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001441/0.4869, allocations: 0.4948 MB / 0.5377 GB, free: 8.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.487, allocations: 80.33 kB / 0.5377 GB, free: 8.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.4874, allocations: 373 kB / 0.5381 GB, free: 8.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.4875, allocations: 32.77 kB / 0.5381 GB, free: 8.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.4876, allocations: 144.7 kB / 0.5383 GB, free: 7.992 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.476e-05/0.4877, allocations: 68.94 kB / 0.5383 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.4878, allocations: 41.8 kB / 0.5384 GB, free: 7.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4879, allocations: 343.2 kB / 0.5387 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.4881, allocations: 57 kB / 0.5387 GB, free: 7.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.4883, allocations: 95.5 kB / 0.5388 GB, free: 7.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.4886, allocations: 161 kB / 0.539 GB, free: 7.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4886, allocations: 1.188 kB / 0.539 GB, free: 7.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004444/0.4891, allocations: 233.1 kB / 0.5392 GB, free: 7.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.4892, allocations: 9.562 kB / 0.5392 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4892, allocations: 5.156 kB / 0.5392 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4892, allocations: 1.125 kB / 0.5392 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.4894, allocations: 55.03 kB / 0.5393 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.4894, allocations: 1.375 kB / 0.5393 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.4895, allocations: 16.78 kB / 0.5393 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.4895, allocations: 6.812 kB / 0.5393 GB, free: 7.203 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001673/0.4897, allocations: 158.8 kB / 0.5395 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.4898, allocations: 32.91 kB / 0.5395 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.699e-05/0.4899, allocations: 40.39 kB / 0.5395 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4899, allocations: 2.062 kB / 0.5395 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.4899, allocations: 1.125 kB / 0.5395 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4899, allocations: 1.219 kB / 0.5395 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009916/0.4909, allocations: 0.7207 MB / 0.5402 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.4909, allocations: 2.812 kB / 0.5402 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.864e-05/0.491, allocations: 34.52 kB / 0.5403 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.491, allocations: 2.594 kB / 0.5403 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.491, allocations: 4.562 kB / 0.5403 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.491, allocations: 7.031 kB / 0.5403 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.491, allocations: 1.594 kB / 0.5403 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.4916, allocations: 425.6 kB / 0.5407 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.4917, allocations: 100.8 kB / 0.5408 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.4917, allocations: 7.531 kB / 0.5408 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.4919, allocations: 8.578 kB / 0.5408 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.4919, allocations: 20.42 kB / 0.5408 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.492, allocations: 17.06 kB / 0.5408 GB, free: 5.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003011/0.4923, allocations: 276.3 kB / 0.5411 GB, free: 5.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4923, allocations: 0 / 0.5411 GB, free: 5.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000398/0.4927, allocations: 50.88 kB / 0.5411 GB, free: 5.738 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001515/0.4942, allocations: 0.503 MB / 0.5416 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004582/0.4947, allocations: 159.2 kB / 0.5418 GB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4947, allocations: 0 / 0.5418 GB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.4949, allocations: 79.81 kB / 0.5419 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007043/0.4956, allocations: 71.83 kB / 0.5419 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.4968, allocations: 0.4961 MB / 0.5424 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.4974, allocations: 0.7677 MB / 0.5432 GB, free: 4.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.4975, allocations: 40.89 kB / 0.5432 GB, free: 4.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.2e-05/0.4976, allocations: 25.72 kB / 0.5432 GB, free: 4.23 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4976, allocations: 5.031 kB / 0.5432 GB, free: 4.227 MB / 398.1 MB Notification: Performance of Templates: time 0.007735/0.5054, allocations: 3.143 MB / 0.5463 GB, free: 1.848 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches