Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001202/0.001202, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001332/0.001332, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.382/1.382, allocations: 230.5 MB / 258.2 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.212/0.212, allocations: 46.92 MB / 361.6 MB, free: 4.203 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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 72.17 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2803, allocations: 66.08 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002797/0.2831, allocations: 1.631 MB / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009834/0.2841, allocations: 0.5655 MB / 0.5637 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.2841, allocations: 0 / 0.5637 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.2844, allocations: 127.7 kB / 0.5638 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.2847, allocations: 123.6 kB / 0.5639 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.285, allocations: 111 kB / 0.564 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.2852, allocations: 107.7 kB / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.2853, allocations: 13.81 kB / 0.5641 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.2853, allocations: 51.83 kB / 0.5642 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.2855, allocations: 95.7 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.2855, allocations: 4 kB / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.212e-05/0.2856, allocations: 51.97 kB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.2857, allocations: 23.92 kB / 0.5643 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.2857, allocations: 35.67 kB / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.2859, allocations: 123.4 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2859, allocations: 7.938 kB / 0.5645 GB, free: 1.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2859, allocations: 0 / 0.5645 GB, free: 1.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2859, allocations: 8 kB / 0.5645 GB, free: 1.234 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004796/0.2864, allocations: 361.4 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2864, allocations: 12.03 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.284e-05/0.2865, allocations: 192 / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.2865, allocations: 30.75 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.2865, allocations: 20.84 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.2867, allocations: 162.4 kB / 0.5651 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.2867, allocations: 384 / 0.5651 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.2867, allocations: 8.375 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.2869, allocations: 65.91 kB / 0.5651 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2869, allocations: 0 / 0.5651 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2869, allocations: 3.984 kB / 0.5651 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2869, allocations: 0 / 0.5651 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.548e-05/0.287, allocations: 27.97 kB / 0.5652 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.2874, allocations: 271.9 kB / 0.5654 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.2875, allocations: 54.48 kB / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.2875, allocations: 20.95 kB / 0.5655 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.2875, allocations: 3.984 kB / 0.5655 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.2876, allocations: 34.56 kB / 0.5655 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.2876, allocations: 0 / 0.5655 GB, free: 44 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008882/0.2884, allocations: 257 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2885, allocations: 51.41 kB / 0.5658 GB, free: 15.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.2888, allocations: 271.8 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.2888, allocations: 25.7 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.2889, allocations: 120.2 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.2889, allocations: 31.73 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.2889, allocations: 17.72 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.2891, allocations: 330.8 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.2891, allocations: 35.91 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-05/0.2892, allocations: 31.97 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.2894, allocations: 72.83 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.2894, allocations: 3.938 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002482/0.2896, allocations: 113.6 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2896, allocations: 8 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2897, allocations: 0 / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2897, allocations: 0 / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.2898, allocations: 19.92 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.2898, allocations: 0 / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.2898, allocations: 11.92 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.2898, allocations: 8.312 kB / 0.5669 GB, free: 14.59 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 (8): * Single equations (assignments): 8 * 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.000106/0.2899, allocations: 136.5 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.29, allocations: 15.91 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.2903, allocations: 139 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2903, allocations: 0 / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2903, allocations: 0 / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2903, allocations: 3.938 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005402/0.2908, allocations: 410.3 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2908, allocations: 0 / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.2909, allocations: 15.98 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2909, allocations: 7.938 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2909, allocations: 0 / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2909, allocations: 0 / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2909, allocations: 3.984 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.2912, allocations: 220.2 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.2912, allocations: 20.27 kB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.2912, allocations: 7.938 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.2913, allocations: 7.984 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.2913, allocations: 4 kB / 0.5678 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.2913, allocations: 7.984 kB / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.2915, allocations: 212.1 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2915, allocations: 0 / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.2918, allocations: 23.94 kB / 0.5681 GB, free: 13.29 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002073/0.2938, allocations: 1.094 MB / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.2941, allocations: 75.95 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2941, allocations: 0 / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.854e-05/0.2942, allocations: 44.05 kB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.2945, allocations: 38.28 kB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.2967, allocations: 1.856 MB / 0.5711 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.2971, allocations: 0.7159 MB / 0.5718 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.624e-05/0.2972, allocations: 24.58 kB / 0.5718 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.2972, allocations: 43.42 kB / 0.5719 GB, free: 9.426 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2972, allocations: 7.938 kB / 0.5719 GB, free: 9.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.3193, allocations: 3.634 MB / 0.5754 GB, free: 5.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.97, allocations: 9.812 kB / 0.5754 GB, free: 5.824 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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: 13.894416686031036]