Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.358/1.358, allocations: 230.6 MB / 258.3 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2103/0.2103, allocations: 46.94 MB / 361.6 MB, free: 4.23 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.89 kB / 0.4974 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2868, allocations: 66.02 MB / 0.5619 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003068/0.2899, allocations: 1.624 MB / 0.5635 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.2917, allocations: 1.255 MB / 0.5647 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.2918, allocations: 0 / 0.5647 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.292, allocations: 23.8 kB / 0.5647 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.2923, allocations: 83.67 kB / 0.5648 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.2925, allocations: 99.62 kB / 0.5649 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.2927, allocations: 63.78 kB / 0.565 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.2928, allocations: 15.92 kB / 0.565 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.089e-05/0.2928, allocations: 27.91 kB / 0.565 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.293, allocations: 35.8 kB / 0.565 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.293, allocations: 4 kB / 0.565 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.2932, allocations: 95.94 kB / 0.5651 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.2932, allocations: 19.92 kB / 0.5651 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.2933, allocations: 23.86 kB / 0.5652 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.2935, allocations: 149.8 kB / 0.5653 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2935, allocations: 0 / 0.5653 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2935, allocations: 0 / 0.5653 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2935, allocations: 0 / 0.5653 GB, free: 0.8828 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004549/0.294, allocations: 317.7 kB / 0.5656 GB, free: 0.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.294, allocations: 8.031 kB / 0.5656 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.294, allocations: 12.83 kB / 0.5656 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.2942, allocations: 146.4 kB / 0.5658 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.2942, allocations: 384 / 0.5658 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.2943, allocations: 384 / 0.5658 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.2944, allocations: 75.45 kB / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2944, allocations: 0 / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.2944, allocations: 0 / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2944, allocations: 0 / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.308e-05/0.2945, allocations: 19.98 kB / 0.5659 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.2949, allocations: 252 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.295, allocations: 42.55 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.2951, allocations: 24.84 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.2951, allocations: 0 / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2951, allocations: 34.56 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.2951, allocations: 0 / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005121/0.2957, allocations: 141.4 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.2957, allocations: 81.11 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.2959, allocations: 144.5 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2959, allocations: 25.7 kB / 0.5666 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.2959, allocations: 100.1 kB / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.296, allocations: 19.8 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.296, allocations: 17.72 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2961, allocations: 322.8 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/0.2962, allocations: 19.98 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.2963, allocations: 29.7 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.2964, allocations: 52.8 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2964, allocations: 0 / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001767/0.2966, allocations: 81.62 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2966, allocations: 4 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.2966, allocations: 3.938 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2966, allocations: 4 kB / 0.5672 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.2967, allocations: 11.98 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2967, allocations: 0 / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.2967, allocations: 11.98 kB / 0.5672 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.2967, allocations: 7.875 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.373e-05/0.2968, allocations: 117.8 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.2968, allocations: 7.953 kB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.2971, allocations: 90.06 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2971, allocations: 0 / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2971, allocations: 0 / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2971, allocations: 4.312 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.2975, allocations: 333.5 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2975, allocations: 4.281 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.2975, allocations: 8 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2975, allocations: 0 / 0.5678 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2976, allocations: 3.984 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2976, allocations: 3.938 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2976, allocations: 4 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.2978, allocations: 183.4 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.2978, allocations: 3.953 kB / 0.568 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.2978, allocations: 7.984 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.2979, allocations: 7.938 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.2979, allocations: 7.984 kB / 0.568 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.2979, allocations: 0 / 0.568 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.295e-05/0.298, allocations: 117.6 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.298, allocations: 0 / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.2983, allocations: 39.86 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.00165/0.2999, allocations: 0.4898 MB / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.3001, allocations: 43.97 kB / 0.5687 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3001, allocations: 0 / 0.5687 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.49e-05/0.3002, allocations: 27.92 kB / 0.5687 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.3005, allocations: 19.98 kB / 0.5687 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.3009, allocations: 191.2 kB / 0.5689 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.3012, allocations: 0.6885 MB / 0.5696 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.3013, allocations: 23.42 kB / 0.5696 GB, free: 12.35 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3013, allocations: 0 / 0.5696 GB, free: 12.35 MB / 414.1 MB Notification: Performance of Templates: time 0.003941/0.3052, allocations: 1.938 MB / 0.5715 GB, free: 10.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.3606926149223]