Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.001488/0.001488, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001677/0.001677, allocations: 217 kB / 24.5 MB, free: 4.133 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.344/1.344, allocations: 230.5 MB / 258.1 MB, free: 8.02 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.2119/0.2119, allocations: 46.93 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 75.88 kB / 0.4975 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2855, allocations: 66.08 MB / 0.562 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003001/0.2885, allocations: 1.749 MB / 0.5637 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.291, allocations: 1.73 MB / 0.5654 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.291, allocations: 7.875 kB / 0.5654 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.2913, allocations: 43.77 kB / 0.5655 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.2916, allocations: 95.59 kB / 0.5656 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.2917, allocations: 83.67 kB / 0.5656 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.2919, allocations: 103.7 kB / 0.5657 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.35e-05/0.292, allocations: 11.98 kB / 0.5657 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.2921, allocations: 51.72 kB / 0.5658 GB, free: 500 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.2922, allocations: 39.84 kB / 0.5658 GB, free: 460 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2923, allocations: 4 kB / 0.5658 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.2924, allocations: 119.9 kB / 0.566 GB, free: 336 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.2925, allocations: 19.91 kB / 0.566 GB, free: 316 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.2925, allocations: 31.81 kB / 0.566 GB, free: 284 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.2928, allocations: 170 kB / 0.5662 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2928, allocations: 7.938 kB / 0.5662 GB, free: 108 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2928, allocations: 0 / 0.5662 GB, free: 108 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.2928, allocations: 3.984 kB / 0.5662 GB, free: 104 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.0005224/0.2933, allocations: 349.5 kB / 0.5665 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.2934, allocations: 12.03 kB / 0.5665 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.2934, allocations: 12.84 kB / 0.5665 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.2936, allocations: 154.3 kB / 0.5667 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.2937, allocations: 384 / 0.5667 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.2937, allocations: 16.11 kB / 0.5667 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.2938, allocations: 71.33 kB / 0.5668 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2938, allocations: 0 / 0.5668 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.2939, allocations: 7.938 kB / 0.5668 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.2939, allocations: 0 / 0.5668 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.601e-05/0.2939, allocations: 15.98 kB / 0.5668 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.2943, allocations: 256 kB / 0.567 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.2945, allocations: 62.61 kB / 0.5671 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.2946, allocations: 16.86 kB / 0.5671 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.2946, allocations: 0 / 0.5671 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.2947, allocations: 75.38 kB / 0.5672 GB, free: 14.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2947, allocations: 3.938 kB / 0.5672 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004875/0.2952, allocations: 173.3 kB / 0.5673 GB, free: 14.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.2953, allocations: 81.09 kB / 0.5674 GB, free: 14.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.2954, allocations: 158.5 kB / 0.5676 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.2955, allocations: 33.69 kB / 0.5676 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.2955, allocations: 96.14 kB / 0.5677 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.2955, allocations: 35.72 kB / 0.5677 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.2956, allocations: 17.72 kB / 0.5677 GB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2957, allocations: 330.8 kB / 0.5681 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.2958, allocations: 23.98 kB / 0.5681 GB, free: 13.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.2959, allocations: 42.5 kB / 0.5681 GB, free: 13.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.296, allocations: 57.72 kB / 0.5682 GB, free: 13.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.296, allocations: 0 / 0.5682 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001799/0.2962, allocations: 101.6 kB / 0.5683 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2962, allocations: 8 kB / 0.5683 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2962, allocations: 0 / 0.5683 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2962, allocations: 0 / 0.5683 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.2963, allocations: 15.98 kB / 0.5683 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2963, allocations: 4 kB / 0.5683 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.2963, allocations: 7.938 kB / 0.5683 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.2963, allocations: 4 kB / 0.5683 GB, free: 13.69 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.0001029/0.2964, allocations: 125.5 kB / 0.5684 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.2965, allocations: 15.94 kB / 0.5685 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.2967, allocations: 114.5 kB / 0.5686 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2967, allocations: 0 / 0.5686 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2967, allocations: 0 / 0.5686 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2967, allocations: 7.922 kB / 0.5686 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.2971, allocations: 366.3 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2971, allocations: 0 / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.2972, allocations: 11.98 kB / 0.5689 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2972, allocations: 4.031 kB / 0.5689 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.2972, allocations: 3.938 kB / 0.5689 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-06/0.2972, allocations: 8.312 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2972, allocations: 0 / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.2974, allocations: 204.3 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.2974, allocations: 11.94 kB / 0.5692 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.2975, allocations: 12.12 kB / 0.5692 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.2975, allocations: 8 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.2976, allocations: 7.922 kB / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.2976, allocations: 4 kB / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.2977, allocations: 131.9 kB / 0.5693 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2977, allocations: 0 / 0.5693 GB, free: 12.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.298, allocations: 47.86 kB / 0.5694 GB, free: 12.54 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.001928/0.2999, allocations: 0.5352 MB / 0.5699 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.3001, allocations: 51.98 kB / 0.5699 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3001, allocations: 0 / 0.5699 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.061e-05/0.3001, allocations: 31.92 kB / 0.57 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.3005, allocations: 23.97 kB / 0.57 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.3009, allocations: 244.5 kB / 0.5702 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.3012, allocations: 0.6963 MB / 0.5709 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.3013, allocations: 23.42 kB / 0.5709 GB, free: 11.06 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3013, allocations: 3.938 kB / 0.5709 GB, free: 11.06 MB / 414.1 MB Notification: Performance of Templates: time 0.00433/0.3056, allocations: 2.418 MB / 0.5733 GB, free: 8.652 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.240851367125288]