Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001227/0.001227, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001333/0.001333, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.372/1.372, allocations: 230.5 MB / 258.2 MB, free: 7.754 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.2212/0.2212, allocations: 46.95 MB / 361.6 MB, free: 3.941 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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 79.88 kB / 0.4969 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2973, allocations: 66.08 MB / 0.5615 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003067/0.3004, allocations: 1.667 MB / 0.5631 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3014, allocations: 0.5616 MB / 0.5636 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.3015, allocations: 0 / 0.5636 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.3018, allocations: 67.72 kB / 0.5637 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.3021, allocations: 111.6 kB / 0.5638 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.3025, allocations: 175 kB / 0.564 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.3027, allocations: 99.67 kB / 0.5641 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3028, allocations: 18.05 kB / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.883e-05/0.3029, allocations: 43.83 kB / 0.5641 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.303, allocations: 55.83 kB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.303, allocations: 4 kB / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.3031, allocations: 47.97 kB / 0.5642 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/0.3032, allocations: 39.78 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.3032, allocations: 27.81 kB / 0.5643 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.3034, allocations: 127.4 kB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3035, allocations: 0 / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3035, allocations: 0 / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3035, allocations: 0 / 0.5644 GB, free: 1.023 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005666/0.304, allocations: 369.5 kB / 0.5648 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3041, allocations: 11.97 kB / 0.5648 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.375e-05/0.3041, allocations: 4.188 kB / 0.5648 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.3041, allocations: 34.75 kB / 0.5648 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.3041, allocations: 12.84 kB / 0.5648 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.3043, allocations: 154.2 kB / 0.565 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3044, allocations: 4.375 kB / 0.565 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.3044, allocations: 4.375 kB / 0.565 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.3046, allocations: 69.97 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3046, allocations: 0 / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3046, allocations: 8 kB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3046, allocations: 4 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.3047, allocations: 39.91 kB / 0.5651 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.3052, allocations: 295.8 kB / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.3055, allocations: 62.58 kB / 0.5654 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.943e-05/0.3055, allocations: 28.95 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.3056, allocations: 4 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3056, allocations: 34.56 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3056, allocations: 0 / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001515/0.3071, allocations: 428.9 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3072, allocations: 59.33 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.3074, allocations: 218.7 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.3074, allocations: 37.7 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.3075, allocations: 108.1 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.3075, allocations: 39.62 kB / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.3076, allocations: 29.7 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3078, allocations: 326.8 kB / 0.5667 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3079, allocations: 55.95 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.308, allocations: 47.97 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.3083, allocations: 133 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3083, allocations: 0 / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003572/0.3087, allocations: 169.5 kB / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3087, allocations: 4 kB / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3087, allocations: 0 / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3087, allocations: 4 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3089, allocations: 35.91 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.3089, allocations: 3.938 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.3089, allocations: 11.98 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.3089, allocations: 0 / 0.5671 GB, free: 14.02 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 (11): * Single equations (assignments): 11 * 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.0001149/0.3091, allocations: 135.1 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.3091, allocations: 11.91 kB / 0.5673 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.3096, allocations: 190.9 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3096, allocations: 4 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3096, allocations: 8.438 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3096, allocations: 3.984 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/0.3103, allocations: 475 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3103, allocations: 4 kB / 0.5679 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.3104, allocations: 32.05 kB / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3104, allocations: 0 / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3104, allocations: 0 / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3104, allocations: 7.984 kB / 0.568 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3104, allocations: 0 / 0.568 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.3109, allocations: 273 kB / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.3109, allocations: 23.98 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.3109, allocations: 3.938 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.311, allocations: 15.98 kB / 0.5683 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.311, allocations: 11.98 kB / 0.5683 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.3111, allocations: 7.938 kB / 0.5683 GB, free: 12.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.3112, allocations: 172.3 kB / 0.5685 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3112, allocations: 0 / 0.5685 GB, free: 12.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.3115, allocations: 27.94 kB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002351/0.3138, allocations: 1.184 MB / 0.5696 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003549/0.3142, allocations: 131.8 kB / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3142, allocations: 0 / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.3143, allocations: 63.89 kB / 0.5698 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.3147, allocations: 23.73 kB / 0.5699 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.3172, allocations: 1.978 MB / 0.5718 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.3174, allocations: 117.7 kB / 0.5719 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.333e-05/0.3174, allocations: 36.45 kB / 0.5719 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.3175, allocations: 43.42 kB / 0.572 GB, free: 9.016 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3175, allocations: 0 / 0.572 GB, free: 9.016 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.3398, allocations: 3.882 MB / 0.5758 GB, free: 5.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.2, allocations: 5.375 kB / 0.5758 GB, free: 5.164 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.108155435067602]