Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001229/0.001229, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001328/0.001328, allocations: 220.9 kB / 24.53 MB, free: 4.008 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.407/1.407, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2205/0.2205, allocations: 46.92 MB / 361.6 MB, free: 4.309 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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 75.88 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3111, allocations: 66.08 MB / 0.5615 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003073/0.3142, allocations: 1.629 MB / 0.5631 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3153, allocations: 0.5732 MB / 0.5637 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.3153, allocations: 3.938 kB / 0.5637 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.3156, allocations: 71.77 kB / 0.5637 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.3159, allocations: 107.6 kB / 0.5639 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.3162, allocations: 111.1 kB / 0.564 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.3163, allocations: 83.75 kB / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.3164, allocations: 17.81 kB / 0.5641 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.333e-05/0.3165, allocations: 39.84 kB / 0.5641 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3166, allocations: 55.75 kB / 0.5641 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.3166, allocations: 4 kB / 0.5641 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.109e-05/0.3167, allocations: 43.98 kB / 0.5642 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.903e-05/0.3168, allocations: 19.92 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.3168, allocations: 27.8 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.317, allocations: 111.5 kB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.317, allocations: 0 / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.317, allocations: 7.938 kB / 0.5643 GB, free: 1.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.317, allocations: 3.984 kB / 0.5644 GB, free: 1.449 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004844/0.3175, allocations: 329.7 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3175, allocations: 8.031 kB / 0.5647 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.233e-05/0.3175, allocations: 4.188 kB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.3176, allocations: 30.75 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.3176, allocations: 12.84 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.3178, allocations: 139.7 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3178, allocations: 8.375 kB / 0.5649 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.3178, allocations: 4.375 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3179, allocations: 65.91 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.318, allocations: 4 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.318, allocations: 0 / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.318, allocations: 0 / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.669e-05/0.3181, allocations: 23.98 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.3184, allocations: 275.8 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.3186, allocations: 54.5 kB / 0.5653 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.3186, allocations: 20.94 kB / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.3186, allocations: 0 / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.3187, allocations: 30.56 kB / 0.5653 GB, free: 332 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.3187, allocations: 0 / 0.5653 GB, free: 332 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008619/0.3195, allocations: 237.2 kB / 0.5655 GB, free: 88 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3196, allocations: 51.41 kB / 0.5656 GB, free: 24 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.3198, allocations: 199.3 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.3198, allocations: 29.7 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.3199, allocations: 112.1 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.3199, allocations: 31.73 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.3199, allocations: 21.66 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3201, allocations: 326.8 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.287e-05/0.3202, allocations: 27.98 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.3203, allocations: 39.91 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.3205, allocations: 76.81 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3205, allocations: 0 / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002205/0.3207, allocations: 106 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3207, allocations: 4 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3207, allocations: 0 / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3207, allocations: 0 / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3208, allocations: 19.98 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3208, allocations: 3.938 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.3209, allocations: 11.94 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.3209, allocations: 4 kB / 0.5666 GB, free: 14.98 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 9.482e-05/0.321, allocations: 125.8 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.321, allocations: 15.89 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.3213, allocations: 143.3 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3213, allocations: 0 / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3213, allocations: 0 / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3213, allocations: 7.875 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.3219, allocations: 390.4 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3219, allocations: 0 / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.3219, allocations: 23.92 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3219, allocations: 3.938 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.3219, allocations: 0 / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3219, allocations: 4 kB / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3219, allocations: 0 / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3222, allocations: 212.3 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.3222, allocations: 11.94 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3223, allocations: 11.88 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.3223, allocations: 4 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.3224, allocations: 7.984 kB / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.3224, allocations: 4 kB / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3225, allocations: 156.9 kB / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3225, allocations: 0 / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000244/0.3227, allocations: 19.94 kB / 0.5677 GB, free: 13.77 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.00213/0.3249, allocations: 1.103 MB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.3251, allocations: 71.95 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3251, allocations: 0 / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3252, allocations: 43.89 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.3256, allocations: 12 kB / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.3279, allocations: 1.687 MB / 0.5705 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3282, allocations: 0.708 MB / 0.5712 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.122e-05/0.3283, allocations: 16.66 kB / 0.5712 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.3283, allocations: 35.42 kB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3283, allocations: 0 / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.3504, allocations: 3.316 MB / 0.5745 GB, free: 6.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.91, allocations: 12.66 kB / 0.5745 GB, free: 6.836 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.884025458013639]