Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.001318/0.001318, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001485/0.001485, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.368/1.368, allocations: 230.5 MB / 258.1 MB, free: 8.016 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.2153/0.2153, allocations: 46.92 MB / 361.5 MB, free: 4.18 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 83.86 kB / 0.4975 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2881, allocations: 66.08 MB / 0.562 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003199/0.2913, allocations: 1.943 MB / 0.5639 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.2932, allocations: 1.15 MB / 0.5651 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.2933, allocations: 3.938 kB / 0.5651 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004518/0.2938, allocations: 223.4 kB / 0.5653 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004552/0.2942, allocations: 223.1 kB / 0.5655 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.2945, allocations: 119.6 kB / 0.5656 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.2948, allocations: 259.3 kB / 0.5658 GB, free: 292 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2949, allocations: 13.97 kB / 0.5659 GB, free: 276 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.2951, allocations: 131.5 kB / 0.566 GB, free: 144 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.2953, allocations: 175.5 kB / 0.5662 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.2954, allocations: 12 kB / 0.5662 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.2955, allocations: 63.86 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.629e-05/0.2956, allocations: 59.77 kB / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.2957, allocations: 99.22 kB / 0.5664 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.296, allocations: 245.2 kB / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.296, allocations: 0 / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.296, allocations: 0 / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.296, allocations: 0 / 0.5666 GB, free: 15.5 MB / 414.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.0007353/0.2968, allocations: 0.4963 MB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2968, allocations: 16.03 kB / 0.5671 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.2968, allocations: 28.75 kB / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.2972, allocations: 234.5 kB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.2972, allocations: 4.375 kB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.2973, allocations: 8.375 kB / 0.5674 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.2975, allocations: 111.6 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.2975, allocations: 4 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.2975, allocations: 8 kB / 0.5675 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2975, allocations: 0 / 0.5675 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.2976, allocations: 51.95 kB / 0.5675 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.2982, allocations: 447.8 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.2986, allocations: 117.2 kB / 0.5681 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.937e-05/0.2987, allocations: 45.83 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.2987, allocations: 0 / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.2989, allocations: 117.1 kB / 0.5682 GB, free: 13.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.2989, allocations: 0 / 0.5682 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001257/0.3002, allocations: 0.5083 MB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.3002, allocations: 77.11 kB / 0.5688 GB, free: 13.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.3007, allocations: 448.5 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.3007, allocations: 37.69 kB / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.3008, allocations: 164.5 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.719e-05/0.3009, allocations: 67.42 kB / 0.5695 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.301, allocations: 41.7 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3011, allocations: 350.8 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.3013, allocations: 55.97 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3014, allocations: 88.5 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.3017, allocations: 167.5 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3017, allocations: 3.938 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003863/0.3021, allocations: 233.2 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3021, allocations: 8 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3021, allocations: 0 / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3021, allocations: 8 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3023, allocations: 43.97 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3023, allocations: 7.938 kB / 0.5705 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.896e-05/0.3023, allocations: 11.95 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.3024, allocations: 5.172 kB / 0.5705 GB, free: 11.3 MB / 414.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.0001647/0.3025, allocations: 170.2 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.3026, allocations: 31.81 kB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.3031, allocations: 268.2 kB / 0.5709 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3031, allocations: 4 kB / 0.5709 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3031, allocations: 3.984 kB / 0.5709 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3031, allocations: 4 kB / 0.5709 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009252/0.304, allocations: 0.7068 MB / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.304, allocations: 0 / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-05/0.3041, allocations: 35.92 kB / 0.5717 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3041, allocations: 0 / 0.5717 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3041, allocations: 11.98 kB / 0.5717 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3041, allocations: 0 / 0.5717 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3041, allocations: 4 kB / 0.5717 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.3046, allocations: 421.9 kB / 0.5721 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.3046, allocations: 39.75 kB / 0.5721 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.3047, allocations: 4 kB / 0.5721 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.3048, allocations: 8 kB / 0.5721 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.3049, allocations: 28.09 kB / 0.5721 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.3049, allocations: 11.98 kB / 0.5722 GB, free: 9.461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003504/0.3052, allocations: 342.9 kB / 0.5725 GB, free: 9.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3052, allocations: 0 / 0.5725 GB, free: 9.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.3056, allocations: 43.94 kB / 0.5725 GB, free: 9.082 MB / 414.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.001893/0.3075, allocations: 0.5073 MB / 0.573 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003508/0.3078, allocations: 151.8 kB / 0.5732 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3078, allocations: 0 / 0.5732 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.308, allocations: 79.78 kB / 0.5732 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.3085, allocations: 64.14 kB / 0.5733 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009532/0.3095, allocations: 0.5959 MB / 0.5739 GB, free: 7.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.3099, allocations: 0.7753 MB / 0.5746 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.31, allocations: 27.44 kB / 0.5747 GB, free: 6.996 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.31, allocations: 4 kB / 0.5747 GB, free: 6.992 MB / 414.1 MB Notification: Performance of Templates: time 0.006147/0.3161, allocations: 3.772 MB / 0.5784 GB, free: 3.234 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference: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 Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 7.390347604872659]