Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001746/0.001746, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001573/0.001573, allocations: 210.9 kB / 24.51 MB, free: 3.941 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.408/1.408, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.2226/0.2226, allocations: 46.95 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.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 75.88 kB / 0.4969 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2949, allocations: 66.08 MB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002967/0.2978, allocations: 1.637 MB / 0.5631 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.2997, allocations: 1.267 MB / 0.5643 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.2997, allocations: 0 / 0.5643 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.2999, allocations: 27.84 kB / 0.5643 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.3002, allocations: 91.55 kB / 0.5644 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.3006, allocations: 178 kB / 0.5646 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.3008, allocations: 83.7 kB / 0.5647 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.3009, allocations: 17.8 kB / 0.5647 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.452e-05/0.3009, allocations: 35.8 kB / 0.5647 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.301, allocations: 35.84 kB / 0.5647 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3011, allocations: 4 kB / 0.5647 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.3012, allocations: 91.89 kB / 0.5648 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.403e-05/0.3013, allocations: 27.91 kB / 0.5649 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.3013, allocations: 19.86 kB / 0.5649 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.3017, allocations: 163.5 kB / 0.565 GB, free: 376 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3017, allocations: 0 / 0.565 GB, free: 376 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3017, allocations: 0 / 0.565 GB, free: 376 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.3017, allocations: 0 / 0.565 GB, free: 376 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.0005525/0.3022, allocations: 353.5 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3023, allocations: 12.03 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.012e-05/0.3023, allocations: 192 / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.3023, allocations: 30.75 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.3023, allocations: 8.891 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.3025, allocations: 145.1 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.3025, allocations: 4.375 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.3026, allocations: 4.375 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.3028, allocations: 121.3 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3028, allocations: 4 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.3028, allocations: 0 / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3028, allocations: 0 / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.3029, allocations: 39.97 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.3034, allocations: 271.8 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.3035, allocations: 54.5 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.532e-05/0.3036, allocations: 28.92 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3036, allocations: 0 / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3036, allocations: 30.56 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3036, allocations: 0 / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008363/0.3045, allocations: 233.3 kB / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.3045, allocations: 77.11 kB / 0.5664 GB, free: 14.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.3047, allocations: 153.6 kB / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3047, allocations: 29.7 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.3048, allocations: 104.1 kB / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.3048, allocations: 23.8 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.3049, allocations: 25.7 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.305, allocations: 318.8 kB / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.3051, allocations: 43.95 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.3053, allocations: 79.39 kB / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.3055, allocations: 92.95 kB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3055, allocations: 3.984 kB / 0.5672 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002944/0.3058, allocations: 121.6 kB / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3058, allocations: 11.94 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.3058, allocations: 3.938 kB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.3058, allocations: 0 / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3059, allocations: 23.97 kB / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.3059, allocations: 0 / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.306, allocations: 4 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.306, allocations: 11.92 kB / 0.5674 GB, free: 13.72 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.0001004/0.3061, allocations: 127.1 kB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.3062, allocations: 11.91 kB / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.3065, allocations: 138.3 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3065, allocations: 0 / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3065, allocations: 0 / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3065, allocations: 0 / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005978/0.3071, allocations: 393.5 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3071, allocations: 0 / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.3072, allocations: 15.98 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3072, allocations: 4 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.3072, allocations: 0 / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.3072, allocations: 3.938 kB / 0.5681 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3072, allocations: 0 / 0.5681 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.3076, allocations: 227.7 kB / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.3076, allocations: 7.938 kB / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.3077, allocations: 8 kB / 0.5683 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.3078, allocations: 19.91 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.3078, allocations: 7.984 kB / 0.5683 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.3078, allocations: 0 / 0.5683 GB, free: 12.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.3079, allocations: 121.8 kB / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3079, allocations: 0 / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.3082, allocations: 43.88 kB / 0.5685 GB, free: 12.53 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.002396/0.3106, allocations: 1.176 MB / 0.5696 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003051/0.3109, allocations: 91.86 kB / 0.5697 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3109, allocations: 0 / 0.5697 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.3111, allocations: 47.97 kB / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.3114, allocations: 19.92 kB / 0.5698 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.3135, allocations: 1.663 MB / 0.5714 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.201e-05/0.3136, allocations: 87.73 kB / 0.5715 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.738e-05/0.3136, allocations: 28.7 kB / 0.5715 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.3137, allocations: 35.36 kB / 0.5715 GB, free: 9.441 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3137, allocations: 4 kB / 0.5715 GB, free: 9.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.3378, allocations: 3.862 MB / 0.5753 GB, free: 5.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.2, allocations: 3.938 kB / 0.5753 GB, free: 5.582 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.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.150581637979485]