Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.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.001297/0.001297, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001431/0.001431, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.401/1.401, allocations: 230.5 MB / 258.2 MB, free: 7.773 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.2196/0.2196, allocations: 46.93 MB / 361.6 MB, free: 3.922 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 80.16 kB / 0.4969 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2967, allocations: 66.08 MB / 0.5615 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.003123/0.2998, allocations: 1.594 MB / 0.563 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.3016, allocations: 1.224 MB / 0.5642 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/0.3016, allocations: 4 kB / 0.5642 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.3018, allocations: 27.78 kB / 0.5642 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.3021, allocations: 83.61 kB / 0.5643 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.3024, allocations: 86.78 kB / 0.5644 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.3025, allocations: 71.81 kB / 0.5645 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.3026, allocations: 9.828 kB / 0.5645 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.628e-05/0.3027, allocations: 35.8 kB / 0.5645 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.3028, allocations: 31.84 kB / 0.5645 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.3028, allocations: 4 kB / 0.5645 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.303, allocations: 95.94 kB / 0.5646 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.303, allocations: 15.92 kB / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.3031, allocations: 19.81 kB / 0.5647 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.3033, allocations: 139.5 kB / 0.5648 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3033, allocations: 0 / 0.5648 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3033, allocations: 0 / 0.5648 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.3033, allocations: 0 / 0.5648 GB, free: 0.5781 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.0004769/0.3038, allocations: 329.7 kB / 0.5651 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3038, allocations: 12.03 kB / 0.5651 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.052e-05/0.3039, allocations: 192 / 0.5651 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.011e-05/0.3039, allocations: 30.75 kB / 0.5652 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.3039, allocations: 8.891 kB / 0.5652 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.3041, allocations: 148.9 kB / 0.5653 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3042, allocations: 8.312 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.3042, allocations: 384 / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3043, allocations: 93.36 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3044, allocations: 0 / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3044, allocations: 4 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3044, allocations: 4 kB / 0.5654 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.3045, allocations: 19.98 kB / 0.5654 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.3048, allocations: 247.9 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.305, allocations: 38.56 kB / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.3051, allocations: 12.86 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3051, allocations: 4 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3051, allocations: 38.64 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3051, allocations: 0 / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005732/0.3057, allocations: 145.4 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.3058, allocations: 77.11 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3059, allocations: 143.7 kB / 0.5661 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.306, allocations: 25.7 kB / 0.5661 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.306, allocations: 104 kB / 0.5662 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.306, allocations: 19.86 kB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.3061, allocations: 17.7 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3062, allocations: 318.8 kB / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-05/0.3063, allocations: 23.98 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.884e-05/0.3064, allocations: 55.41 kB / 0.5666 GB, free: 14.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3065, allocations: 53.02 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3065, allocations: 3.938 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001976/0.3067, allocations: 81.61 kB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3067, allocations: 4 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3067, allocations: 4.031 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3068, allocations: 4 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.3068, allocations: 11.94 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3068, allocations: 3.984 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.3069, allocations: 4 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3069, allocations: 4 kB / 0.5668 GB, free: 14.29 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.863e-05/0.307, allocations: 115.1 kB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.307, allocations: 11.95 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.3073, allocations: 94.05 kB / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3073, allocations: 0 / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3073, allocations: 0 / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3073, allocations: 4 kB / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.3077, allocations: 313.5 kB / 0.5673 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3077, allocations: 3.984 kB / 0.5673 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/0.3078, allocations: 8 kB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3078, allocations: 3.938 kB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3078, allocations: 4 kB / 0.5673 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3078, allocations: 8.125 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3078, allocations: 4 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.3081, allocations: 179.4 kB / 0.5675 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.3081, allocations: 8.234 kB / 0.5675 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.3081, allocations: 0 / 0.5675 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.3082, allocations: 15.92 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.3082, allocations: 0 / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3082, allocations: 7.984 kB / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.3083, allocations: 113.4 kB / 0.5677 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3083, allocations: 4 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.3086, allocations: 39.86 kB / 0.5677 GB, free: 13.29 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.002233/0.3108, allocations: 1.123 MB / 0.5688 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.311, allocations: 43.97 kB / 0.5688 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.311, allocations: 0 / 0.5688 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.3111, allocations: 27.86 kB / 0.5689 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.3115, allocations: 26.73 kB / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.3132, allocations: 1.429 MB / 0.5703 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.204e-05/0.3132, allocations: 75.08 kB / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.037e-05/0.3133, allocations: 20.27 kB / 0.5704 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.3134, allocations: 35.41 kB / 0.5704 GB, free: 10.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3134, allocations: 0 / 0.5704 GB, free: 10.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.3385, allocations: 3.484 MB / 0.5738 GB, free: 7.094 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.18, allocations: 15.25 kB / 0.5738 GB, free: 7.082 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test35_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.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: 14.09349671297241]