Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001241/0.001241, 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.001299/0.001299, allocations: 210.5 kB / 24.52 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.387/1.387, allocations: 230.5 MB / 258.2 MB, free: 7.973 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.2237/0.2237, allocations: 46.92 MB / 361.6 MB, free: 4.16 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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 79.88 kB / 0.497 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3016, allocations: 66.08 MB / 0.5615 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003018/0.3046, allocations: 1.679 MB / 0.5632 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3057, allocations: 0.5732 MB / 0.5637 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.3057, allocations: 7.938 kB / 0.5637 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.3063, allocations: 447.1 kB / 0.5641 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.3068, allocations: 299.3 kB / 0.5644 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.3071, allocations: 134.6 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.3074, allocations: 171.6 kB / 0.5647 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.3075, allocations: 21.95 kB / 0.5647 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3076, allocations: 115.7 kB / 0.5649 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.3079, allocations: 247.5 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.3079, allocations: 4 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.751e-05/0.308, allocations: 39.92 kB / 0.5651 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3081, allocations: 83.69 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.722e-05/0.3082, allocations: 107 kB / 0.5653 GB, free: 364 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.3085, allocations: 266.6 kB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3085, allocations: 4 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3085, allocations: 0 / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3085, allocations: 0 / 0.5656 GB, free: 92 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.0007827/0.3093, allocations: 0.5933 MB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3093, allocations: 8.031 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.818e-05/0.3094, allocations: 4.188 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.3094, allocations: 42.67 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.3095, allocations: 44.66 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.3097, allocations: 246.8 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.3098, allocations: 4.375 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.3098, allocations: 4.375 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3099, allocations: 57.98 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.31, allocations: 0 / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.31, allocations: 8 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.31, allocations: 0 / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.3101, allocations: 39.84 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.3106, allocations: 371.8 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.3108, allocations: 38.56 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.602e-05/0.3108, allocations: 20.94 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3109, allocations: 4 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3109, allocations: 38.55 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3109, allocations: 0 / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008963/0.3118, allocations: 292.6 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.3118, allocations: 55.34 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009014/0.3127, allocations: 0.8738 MB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3128, allocations: 25.7 kB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.3129, allocations: 220 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.313, allocations: 23.88 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.313, allocations: 21.72 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.3132, allocations: 370.7 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.3133, allocations: 35.97 kB / 0.5689 GB, free: 12.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3135, allocations: 31.97 kB / 0.5689 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.3137, allocations: 68.81 kB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3137, allocations: 0 / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003423/0.314, allocations: 149.4 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.314, allocations: 11.94 kB / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.314, allocations: 0 / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3141, allocations: 4 kB / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.3142, allocations: 23.97 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3142, allocations: 0 / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.3143, allocations: 7.984 kB / 0.5692 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3143, allocations: 7.938 kB / 0.5692 GB, free: 12.18 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 (7): * Single equations (assignments): 7 * 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.0002188/0.3145, allocations: 217.7 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.3146, allocations: 43.72 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004036/0.315, allocations: 181.7 kB / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.315, allocations: 0 / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.315, allocations: 288 / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.315, allocations: 0 / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006863/0.3157, allocations: 473.5 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3157, allocations: 3.938 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.739e-05/0.3158, allocations: 19.97 kB / 0.5701 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.738e-06/0.3158, allocations: 7.938 kB / 0.5701 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3158, allocations: 7.984 kB / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.3158, allocations: 3.938 kB / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3158, allocations: 0 / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.3162, allocations: 247.2 kB / 0.5703 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3163, allocations: 35.7 kB / 0.5704 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.3163, allocations: 0 / 0.5704 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3164, allocations: 15.94 kB / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.3164, allocations: 3.984 kB / 0.5704 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.3164, allocations: 8 kB / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000662/0.3171, allocations: 0.6589 MB / 0.571 GB, free: 10.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3171, allocations: 0 / 0.571 GB, free: 10.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000274/0.3174, allocations: 24 kB / 0.5711 GB, free: 10.16 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 (7): * Single equations (assignments): 7 * 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.002146/0.3195, allocations: 1.074 MB / 0.5721 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.3198, allocations: 79.88 kB / 0.5722 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3198, allocations: 0 / 0.5722 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.3199, allocations: 39.91 kB / 0.5722 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.3204, allocations: 37.48 kB / 0.5723 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.3245, allocations: 3.323 MB / 0.5755 GB, free: 5.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.325, allocations: 0.826 MB / 0.5763 GB, free: 4.781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.134e-05/0.3251, allocations: 12.97 kB / 0.5763 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.3252, allocations: 107.5 kB / 0.5764 GB, free: 4.664 MB / 414.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3252, allocations: 3.938 kB / 0.5764 GB, free: 4.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.3526, allocations: 6.369 MB / 0.5827 GB, free: 14.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.47, allocations: 18.69 kB / 0.5827 GB, free: 14.32 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.376567591971252]