Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001756/0.001756, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002292/0.002292, allocations: 205.2 kB / 23.72 MB, free: 4.391 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.415/1.415, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.2169/0.2169, allocations: 46.96 MB / 360.8 MB, free: 3.898 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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 79.88 kB / 0.4962 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2934, allocations: 66.09 MB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003042/0.2965, allocations: 1.597 MB / 0.5623 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.2975, allocations: 0.5343 MB / 0.5628 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.2976, allocations: 3.938 kB / 0.5628 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.2978, allocations: 23.84 kB / 0.5628 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.2981, allocations: 79.62 kB / 0.5629 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.2983, allocations: 91.75 kB / 0.563 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.2985, allocations: 71.83 kB / 0.563 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.2986, allocations: 17.81 kB / 0.5631 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.2986, allocations: 35.8 kB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.893e-05/0.2987, allocations: 27.84 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.2987, allocations: 4 kB / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.2989, allocations: 91.95 kB / 0.5632 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.299, allocations: 19.91 kB / 0.5632 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.299, allocations: 23.8 kB / 0.5633 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.2993, allocations: 147.5 kB / 0.5634 GB, free: 1.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2993, allocations: 3.984 kB / 0.5634 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2993, allocations: 0 / 0.5634 GB, free: 1.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.2993, allocations: 4 kB / 0.5634 GB, free: 1.223 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005177/0.2998, allocations: 337.6 kB / 0.5637 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2998, allocations: 12.03 kB / 0.5637 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.2999, allocations: 34.75 kB / 0.5638 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.2999, allocations: 8.891 kB / 0.5638 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.3001, allocations: 140.2 kB / 0.5639 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.3002, allocations: 4.359 kB / 0.5639 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.3002, allocations: 8.375 kB / 0.5639 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.3004, allocations: 89.66 kB / 0.564 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3004, allocations: 3.938 kB / 0.564 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.3004, allocations: 8 kB / 0.564 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3004, allocations: 0 / 0.564 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3005, allocations: 31.91 kB / 0.5641 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.301, allocations: 268 kB / 0.5643 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.3011, allocations: 50.5 kB / 0.5644 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.605e-05/0.3012, allocations: 24.97 kB / 0.5644 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.3012, allocations: 0 / 0.5644 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.3012, allocations: 42.5 kB / 0.5644 GB, free: 36 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3012, allocations: 4 kB / 0.5644 GB, free: 32 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006893/0.3019, allocations: 185.3 kB / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.302, allocations: 77.11 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3022, allocations: 160.9 kB / 0.5648 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3022, allocations: 29.64 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.3023, allocations: 96.09 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.3023, allocations: 27.78 kB / 0.565 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.3023, allocations: 17.72 kB / 0.565 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3025, allocations: 330.8 kB / 0.5653 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.029e-05/0.3026, allocations: 31.98 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.3027, allocations: 71.39 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.3028, allocations: 72.75 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3028, allocations: 0 / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002361/0.3031, allocations: 113.6 kB / 0.5656 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3031, allocations: 8.031 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3031, allocations: 0 / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3031, allocations: 4 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3032, allocations: 28.23 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3032, allocations: 4 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.3033, allocations: 7.984 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.3033, allocations: 4 kB / 0.5656 GB, free: 14.71 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 (9): * Single equations (assignments): 9 * 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 9.862e-05/0.3034, allocations: 117.8 kB / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.3034, allocations: 7.953 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.3037, allocations: 130.3 kB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3037, allocations: 4.281 kB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3037, allocations: 0 / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3037, allocations: 3.984 kB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/0.3043, allocations: 361.4 kB / 0.5662 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3043, allocations: 0 / 0.5662 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.3043, allocations: 19.98 kB / 0.5663 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3043, allocations: 0 / 0.5663 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3044, allocations: 4 kB / 0.5663 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3044, allocations: 3.938 kB / 0.5663 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3044, allocations: 0 / 0.5663 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.3046, allocations: 203.5 kB / 0.5665 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.3047, allocations: 7.938 kB / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.3047, allocations: 4 kB / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.3047, allocations: 7.875 kB / 0.5665 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.3048, allocations: 11.98 kB / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.3048, allocations: 4 kB / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.3049, allocations: 119.2 kB / 0.5666 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3049, allocations: 0 / 0.5666 GB, free: 13.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.3052, allocations: 47.86 kB / 0.5667 GB, free: 13.58 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 (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.00234/0.3075, allocations: 1.16 MB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.3078, allocations: 71.89 kB / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3078, allocations: 0 / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.161e-05/0.3079, allocations: 39.91 kB / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.3082, allocations: 22.5 kB / 0.5679 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.3101, allocations: 1.557 MB / 0.5694 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.063e-05/0.3102, allocations: 90.92 kB / 0.5695 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.005e-05/0.3103, allocations: 24.56 kB / 0.5695 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/0.3104, allocations: 31.42 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3104, allocations: 0 / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.3394, allocations: 4.156 MB / 0.5736 GB, free: 6.484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.1, allocations: 7.672 kB / 0.5736 GB, free: 6.48 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.961477352771908]