Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001526/0.001526, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001923/0.001923, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 230.3 MB / 258 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2341/0.2341, allocations: 46.89 MB / 361.3 MB, free: 4.434 MB / 286.1 MB " [Timeout remaining time 179] 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 80.14 kB / 0.4971 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3634, allocations: 66.02 MB / 0.5616 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003394/0.3668, allocations: 1.755 MB / 0.5633 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.3698, allocations: 1.746 MB / 0.565 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.167e-05/0.3699, allocations: 0 / 0.565 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.3703, allocations: 35.77 kB / 0.565 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.3707, allocations: 99.55 kB / 0.5651 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.3709, allocations: 71.73 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.3711, allocations: 119.6 kB / 0.5653 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3712, allocations: 8 kB / 0.5653 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.3713, allocations: 47.78 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.3715, allocations: 43.77 kB / 0.5654 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.3715, allocations: 8 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.3717, allocations: 111.9 kB / 0.5655 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.3718, allocations: 15.94 kB / 0.5655 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.3719, allocations: 43.72 kB / 0.5656 GB, free: 484 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.3722, allocations: 173.8 kB / 0.5658 GB, free: 316 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3722, allocations: 0 / 0.5658 GB, free: 316 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3722, allocations: 4 kB / 0.5658 GB, free: 312 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.3722, allocations: 0 / 0.5658 GB, free: 312 kB / 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.0006476/0.3728, allocations: 345.5 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3729, allocations: 8.031 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.3729, allocations: 12.84 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.3733, allocations: 158.4 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3733, allocations: 4.375 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.3733, allocations: 8.125 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.3735, allocations: 75.33 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3735, allocations: 0 / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3735, allocations: 0 / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3735, allocations: 0 / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.56e-05/0.3736, allocations: 19.98 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.374, allocations: 271.9 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.3742, allocations: 50.69 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.814e-05/0.3743, allocations: 20.84 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.3743, allocations: 4 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.3745, allocations: 63.39 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.3745, allocations: 3.938 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006117/0.3751, allocations: 177.4 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.3752, allocations: 77.11 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.3753, allocations: 170.4 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.3754, allocations: 29.64 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/0.3754, allocations: 100.1 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.3755, allocations: 27.75 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.3755, allocations: 25.7 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3757, allocations: 326.8 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/0.3757, allocations: 20 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.3758, allocations: 42.56 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.3759, allocations: 61.64 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3759, allocations: 0 / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002056/0.3761, allocations: 97.62 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3761, allocations: 12.05 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3761, allocations: 0 / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3762, allocations: 4 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.481e-05/0.3763, allocations: 15.94 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3763, allocations: 0 / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.3763, allocations: 11.94 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3763, allocations: 3.984 kB / 0.5679 GB, free: 13.89 MB / 414.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.0001125/0.3764, allocations: 119.2 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.3765, allocations: 7.953 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.3767, allocations: 122.5 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3767, allocations: 0 / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3767, allocations: 4 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3768, allocations: 7.875 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.3772, allocations: 366.3 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3772, allocations: 0 / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.3773, allocations: 8 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3773, allocations: 0 / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.3773, allocations: 15.95 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3773, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3773, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.3775, allocations: 196.3 kB / 0.5687 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.3775, allocations: 7.953 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.3776, allocations: 15.88 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.3777, allocations: 4.359 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.3777, allocations: 8 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3777, allocations: 4 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.3778, allocations: 132.1 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3778, allocations: 0 / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.3781, allocations: 51.81 kB / 0.5689 GB, free: 12.75 MB / 414.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.001956/0.3801, allocations: 0.5365 MB / 0.5695 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.3803, allocations: 63.91 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3803, allocations: 0 / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.189e-05/0.3804, allocations: 23.98 kB / 0.5695 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.3807, allocations: 27.98 kB / 0.5696 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.3813, allocations: 210.8 kB / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.3817, allocations: 0.7002 MB / 0.5705 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.151e-05/0.3818, allocations: 21.27 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.3818, allocations: 15.44 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3818, allocations: 4 kB / 0.5705 GB, free: 11.28 MB / 414.1 MB Notification: Performance of Templates: time 0.006271/0.3881, allocations: 2.396 MB / 0.5728 GB, free: 8.902 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2922591380774975]