Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001808/0.001808, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001759/0.001759, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.2 MB, free: 8 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.2138/0.2138, allocations: 46.93 MB / 361.6 MB, free: 4.148 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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 79.88 kB / 0.497 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2935, allocations: 66.07 MB / 0.5615 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003017/0.2965, allocations: 1.671 MB / 0.5631 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.2975, allocations: 0.5654 MB / 0.5637 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.2976, allocations: 3.938 kB / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005595/0.2981, allocations: 455.1 kB / 0.5641 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000439/0.2986, allocations: 299.3 kB / 0.5644 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.2989, allocations: 126.8 kB / 0.5645 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.2991, allocations: 167.6 kB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.292e-05/0.2992, allocations: 21.94 kB / 0.5647 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.2993, allocations: 111.7 kB / 0.5648 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.2996, allocations: 243.5 kB / 0.5651 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.2996, allocations: 4 kB / 0.5651 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-05/0.2997, allocations: 35.98 kB / 0.5651 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.491e-05/0.2998, allocations: 83.62 kB / 0.5652 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.2999, allocations: 103 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.3002, allocations: 266.6 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3002, allocations: 0 / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3002, allocations: 3.938 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3002, allocations: 0 / 0.5655 GB, free: 128 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007332/0.3009, allocations: 0.5854 MB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.301, allocations: 12.03 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.917e-05/0.301, allocations: 4.188 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.775e-05/0.301, allocations: 30.75 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.3011, allocations: 48.61 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.3013, allocations: 254.7 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3014, allocations: 8.359 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.3014, allocations: 4.375 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.3015, allocations: 53.98 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3015, allocations: 0 / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3015, allocations: 4 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3015, allocations: 0 / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.43e-05/0.3016, allocations: 23.98 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.3021, allocations: 367.6 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.3023, allocations: 46.56 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.3023, allocations: 12.94 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3023, allocations: 0 / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3024, allocations: 34.56 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3024, allocations: 4 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000584/0.303, allocations: 232.7 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.303, allocations: 51.41 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000871/0.3039, allocations: 0.8699 MB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3039, allocations: 33.62 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.3041, allocations: 224.1 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.3041, allocations: 19.84 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.3041, allocations: 21.7 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3043, allocations: 366.7 kB / 0.5687 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.3044, allocations: 19.92 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.08e-05/0.3044, allocations: 19.98 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.3045, allocations: 49.02 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3045, allocations: 8 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002156/0.3048, allocations: 113.3 kB / 0.5689 GB, free: 12.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3048, allocations: 8 kB / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3048, allocations: 0 / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3048, allocations: 0 / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.646e-05/0.3049, allocations: 15.92 kB / 0.569 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3049, allocations: 4 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.3049, allocations: 7.984 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3049, allocations: 7.938 kB / 0.569 GB, free: 12.4 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 0.0001825/0.3051, allocations: 211.1 kB / 0.5692 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.3052, allocations: 39.72 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.3055, allocations: 137.2 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3055, allocations: 0 / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3055, allocations: 0 / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3055, allocations: 4 kB / 0.5693 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.306, allocations: 445.5 kB / 0.5698 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.306, allocations: 0 / 0.5698 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.3061, allocations: 11.98 kB / 0.5698 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3061, allocations: 4 kB / 0.5698 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3061, allocations: 0 / 0.5698 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.3061, allocations: 3.938 kB / 0.5698 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3061, allocations: 0 / 0.5698 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.3063, allocations: 219.3 kB / 0.57 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.3064, allocations: 40.05 kB / 0.57 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.3064, allocations: 4 kB / 0.57 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.3065, allocations: 11.94 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.3065, allocations: 3.984 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.3066, allocations: 7.984 kB / 0.5701 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006587/0.3072, allocations: 0.6589 MB / 0.5707 GB, free: 10.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3072, allocations: 4 kB / 0.5707 GB, free: 10.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.3075, allocations: 23.94 kB / 0.5707 GB, free: 10.51 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.001887/0.3093, allocations: 1.044 MB / 0.5718 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.3095, allocations: 51.97 kB / 0.5718 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3095, allocations: 0 / 0.5718 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.685e-05/0.3096, allocations: 23.98 kB / 0.5718 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.31, allocations: 34.17 kB / 0.5719 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.3136, allocations: 3.24 MB / 0.575 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.3141, allocations: 0.826 MB / 0.5758 GB, free: 5.281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.693e-05/0.3141, allocations: 11.98 kB / 0.5758 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.3142, allocations: 103.4 kB / 0.5759 GB, free: 5.172 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3142, allocations: 0 / 0.5759 GB, free: 5.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.3391, allocations: 6.239 MB / 0.582 GB, free: 14.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.5, allocations: 15.55 kB / 0.5821 GB, free: 14.96 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.412505119980779]