Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.001205/0.001205, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.001333/0.001333, allocations: 217.3 kB / 24.49 MB, free: 4.172 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.351/1.351, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.216/0.216, allocations: 46.92 MB / 361.5 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 75.88 kB / 0.4975 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2937, allocations: 66.09 MB / 0.562 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003133/0.2968, allocations: 1.747 MB / 0.5637 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.2985, allocations: 1.049 MB / 0.5647 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.2986, allocations: 3.938 kB / 0.5648 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.2989, allocations: 47.77 kB / 0.5648 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.2991, allocations: 91.59 kB / 0.5649 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.2993, allocations: 79.67 kB / 0.565 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.2995, allocations: 111.6 kB / 0.5651 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.22e-05/0.2996, allocations: 7.984 kB / 0.5651 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.2997, allocations: 43.8 kB / 0.5651 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9e-05/0.2998, allocations: 39.77 kB / 0.5652 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.2998, allocations: 4 kB / 0.5652 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.901e-05/0.2999, allocations: 43.98 kB / 0.5652 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.2999, allocations: 19.92 kB / 0.5652 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.3, allocations: 35.75 kB / 0.5653 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.3002, allocations: 134 kB / 0.5654 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3002, allocations: 0 / 0.5654 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3002, allocations: 0 / 0.5654 GB, free: 0.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.3002, allocations: 0 / 0.5654 GB, free: 0.918 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.0005145/0.3007, allocations: 349.5 kB / 0.5657 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.3008, allocations: 8.031 kB / 0.5657 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.3008, allocations: 16.89 kB / 0.5657 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.3011, allocations: 162.3 kB / 0.5659 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3011, allocations: 4.312 kB / 0.5659 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3011, allocations: 8.359 kB / 0.5659 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3012, allocations: 65.86 kB / 0.566 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.3013, allocations: 0 / 0.566 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3013, allocations: 0 / 0.566 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3013, allocations: 4 kB / 0.566 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.659e-05/0.3014, allocations: 23.98 kB / 0.566 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.3017, allocations: 267.9 kB / 0.5663 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.3019, allocations: 58.61 kB / 0.5663 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.238e-05/0.302, allocations: 16.86 kB / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.302, allocations: 0 / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.3021, allocations: 71.38 kB / 0.5664 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3021, allocations: 0 / 0.5664 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005207/0.3026, allocations: 173.4 kB / 0.5666 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.3027, allocations: 51.41 kB / 0.5666 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.3029, allocations: 222.1 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3029, allocations: 25.7 kB / 0.5668 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.303, allocations: 112.1 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.303, allocations: 19.86 kB / 0.567 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.3031, allocations: 25.7 kB / 0.567 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3032, allocations: 330.8 kB / 0.5673 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-05/0.3033, allocations: 16 kB / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.671e-05/0.3033, allocations: 37.64 kB / 0.5674 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3035, allocations: 65.69 kB / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3035, allocations: 4 kB / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.3037, allocations: 105.5 kB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3037, allocations: 8 kB / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3037, allocations: 0 / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3037, allocations: 0 / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.3038, allocations: 12 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3038, allocations: 4 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.3038, allocations: 3.984 kB / 0.5676 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3038, allocations: 4 kB / 0.5676 GB, free: 14.49 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.0001278/0.304, allocations: 135.1 kB / 0.5677 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.304, allocations: 15.91 kB / 0.5677 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.3042, allocations: 107.1 kB / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3042, allocations: 4.188 kB / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3042, allocations: 0 / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3042, allocations: 11.86 kB / 0.5678 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.3047, allocations: 378.3 kB / 0.5682 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3047, allocations: 384 / 0.5682 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.3047, allocations: 8 kB / 0.5682 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3047, allocations: 4 kB / 0.5682 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.3047, allocations: 4 kB / 0.5682 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.086e-06/0.3048, allocations: 12.17 kB / 0.5682 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3048, allocations: 0 / 0.5682 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.305, allocations: 208.3 kB / 0.5684 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.305, allocations: 7.953 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.305, allocations: 4 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.3051, allocations: 3.938 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.3051, allocations: 15.97 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3052, allocations: 4 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.3053, allocations: 152.3 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3053, allocations: 0 / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.3055, allocations: 23.98 kB / 0.5686 GB, free: 13.32 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.001665/0.3072, allocations: 470.1 kB / 0.5691 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.3074, allocations: 51.97 kB / 0.5691 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3074, allocations: 4.062 kB / 0.5691 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.3075, allocations: 23.94 kB / 0.5691 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3078, allocations: 27.97 kB / 0.5692 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.3083, allocations: 268.4 kB / 0.5694 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.3086, allocations: 0.7041 MB / 0.5701 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.3087, allocations: 23.48 kB / 0.5701 GB, free: 11.87 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3087, allocations: 0 / 0.5701 GB, free: 11.87 MB / 414.1 MB Notification: Performance of Templates: time 0.003811/0.3125, allocations: 1.978 MB / 0.5721 GB, free: 9.891 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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: 7.110524641815573]