Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.00168/0.00168, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001457/0.001457, allocations: 216 kB / 23.73 MB, free: 4.406 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.39/1.39, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.2223/0.2223, allocations: 46.95 MB / 360.8 MB, free: 3.934 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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 76.16 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.296, allocations: 66.09 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00311/0.2991, allocations: 1.667 MB / 0.5623 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.3001, allocations: 0.5655 MB / 0.5629 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.3002, allocations: 0 / 0.5629 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005906/0.3008, allocations: 447.1 kB / 0.5633 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004571/0.3012, allocations: 299.3 kB / 0.5636 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.3017, allocations: 175.1 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.3019, allocations: 183.6 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.302, allocations: 18.03 kB / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.3021, allocations: 107.7 kB / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.3024, allocations: 255.4 kB / 0.5643 GB, free: 332 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.3024, allocations: 4 kB / 0.5643 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.3025, allocations: 51.98 kB / 0.5644 GB, free: 276 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.3026, allocations: 91.62 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.952e-05/0.3027, allocations: 75.23 kB / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.3031, allocations: 298.4 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3031, allocations: 0 / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3031, allocations: 0 / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3031, allocations: 3.938 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007547/0.3038, allocations: 0.5892 MB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3039, allocations: 12.03 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.3039, allocations: 34.75 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.275e-05/0.304, allocations: 44.66 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.3043, allocations: 250.8 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3043, allocations: 8.375 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.3043, allocations: 4.375 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3045, allocations: 74.11 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3045, allocations: 3.938 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3045, allocations: 0 / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3045, allocations: 0 / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.3046, allocations: 35.97 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.3051, allocations: 371.7 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.3053, allocations: 42.56 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.3053, allocations: 20.94 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.3053, allocations: 4 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.3054, allocations: 34.59 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3054, allocations: 0 / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009656/0.3063, allocations: 332.5 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3064, allocations: 55.39 kB / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009068/0.3073, allocations: 0.8815 MB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.3073, allocations: 25.7 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.3075, allocations: 224.1 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.3075, allocations: 31.73 kB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.3076, allocations: 21.72 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3077, allocations: 362.8 kB / 0.5682 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.703e-05/0.3078, allocations: 27.98 kB / 0.5682 GB, free: 12.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.844e-05/0.3079, allocations: 35.97 kB / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.3081, allocations: 72.81 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3081, allocations: 4 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002581/0.3083, allocations: 149.3 kB / 0.5684 GB, free: 11.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3084, allocations: 8 kB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3084, allocations: 0 / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3084, allocations: 0 / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3085, allocations: 19.98 kB / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3085, allocations: 8.25 kB / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.3086, allocations: 3.938 kB / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3086, allocations: 8 kB / 0.5685 GB, free: 11.85 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.0001986/0.3088, allocations: 215.1 kB / 0.5687 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.3088, allocations: 43.72 kB / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.3092, allocations: 185.8 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3092, allocations: 4 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3092, allocations: 3.938 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3092, allocations: 7.922 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006791/0.3099, allocations: 494.3 kB / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3099, allocations: 0 / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.452e-05/0.31, allocations: 19.98 kB / 0.5694 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.31, allocations: 11.94 kB / 0.5694 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.31, allocations: 0 / 0.5694 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.31, allocations: 0 / 0.5694 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.31, allocations: 7.969 kB / 0.5694 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.3103, allocations: 248.1 kB / 0.5697 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.3103, allocations: 39.61 kB / 0.5697 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.3104, allocations: 8 kB / 0.5697 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-05/0.3105, allocations: 7.984 kB / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.3105, allocations: 7.984 kB / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.3105, allocations: 0 / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006546/0.3112, allocations: 0.6628 MB / 0.5704 GB, free: 9.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3112, allocations: 0 / 0.5704 GB, free: 9.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3114, allocations: 28 kB / 0.5704 GB, free: 9.789 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.002288/0.3137, allocations: 1.168 MB / 0.5715 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3139, allocations: 79.88 kB / 0.5716 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.314, allocations: 0 / 0.5716 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.801e-05/0.314, allocations: 40.12 kB / 0.5717 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.3145, allocations: 26.3 kB / 0.5717 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.3184, allocations: 3.392 MB / 0.575 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.3186, allocations: 224.1 kB / 0.5752 GB, free: 4.902 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.166e-05/0.3187, allocations: 24.41 kB / 0.5752 GB, free: 4.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.3189, allocations: 119.4 kB / 0.5753 GB, free: 4.762 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3189, allocations: 8 kB / 0.5754 GB, free: 4.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.3523, allocations: 6.98 MB / 0.5822 GB, free: 13.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.1, allocations: 11.45 kB / 0.5822 GB, free: 13.78 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.967716548126191]