Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001258/0.001258, 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.001434/0.001434, allocations: 209.5 kB / 24.52 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.384/1.384, allocations: 230.5 MB / 258.2 MB, free: 7.809 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.2102/0.2102, allocations: 46.96 MB / 361.6 MB, free: 3.965 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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 75.88 kB / 0.4969 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2971, allocations: 66.08 MB / 0.5615 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002881/0.3, allocations: 1.609 MB / 0.563 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009681/0.301, allocations: 0.5304 MB / 0.5635 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.301, allocations: 0 / 0.5635 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.3013, allocations: 119.7 kB / 0.5637 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.3016, allocations: 135.5 kB / 0.5638 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.3019, allocations: 119.1 kB / 0.5639 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.3021, allocations: 95.8 kB / 0.564 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3022, allocations: 21.75 kB / 0.564 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.559e-05/0.3023, allocations: 43.89 kB / 0.5641 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.3024, allocations: 91.75 kB / 0.5641 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.3024, allocations: 4 kB / 0.5641 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.3025, allocations: 47.98 kB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.3026, allocations: 35.84 kB / 0.5642 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.3026, allocations: 27.75 kB / 0.5643 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.3028, allocations: 123.4 kB / 0.5644 GB, free: 1.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3028, allocations: 0 / 0.5644 GB, free: 1.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3028, allocations: 0 / 0.5644 GB, free: 1.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3028, allocations: 7.938 kB / 0.5644 GB, free: 1.066 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.0004809/0.3033, allocations: 357.4 kB / 0.5647 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.3034, allocations: 12.03 kB / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.943e-05/0.3034, allocations: 4.172 kB / 0.5647 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.3034, allocations: 42.75 kB / 0.5648 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.3034, allocations: 16.78 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.3036, allocations: 170.3 kB / 0.565 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.3036, allocations: 384 / 0.565 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.3037, allocations: 8.359 kB / 0.565 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.3038, allocations: 54 kB / 0.565 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3038, allocations: 0 / 0.565 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.3038, allocations: 0 / 0.565 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.3038, allocations: 4 kB / 0.565 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.257e-05/0.3039, allocations: 27.97 kB / 0.565 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.3043, allocations: 283.9 kB / 0.5653 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3044, allocations: 42.52 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.3045, allocations: 20.94 kB / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.3045, allocations: 0 / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.3045, allocations: 30.56 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3045, allocations: 0 / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009063/0.3054, allocations: 257.1 kB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.3055, allocations: 55.34 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.3057, allocations: 275.8 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3058, allocations: 25.7 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.3058, allocations: 112.1 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.3059, allocations: 27.75 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.3059, allocations: 25.7 kB / 0.5661 GB, free: 15.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3061, allocations: 330.8 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.388e-05/0.3062, allocations: 31.97 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.3063, allocations: 31.98 kB / 0.5665 GB, free: 14.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.3064, allocations: 80.88 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3064, allocations: 0 / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002239/0.3067, allocations: 113.6 kB / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3067, allocations: 4 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3067, allocations: 7.938 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3067, allocations: 4 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3068, allocations: 19.92 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3068, allocations: 0 / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.3068, allocations: 7.938 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3068, allocations: 7.984 kB / 0.5668 GB, free: 14.42 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.0001158/0.307, allocations: 136.5 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.307, allocations: 15.91 kB / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.3073, allocations: 142.9 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3073, allocations: 0 / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3073, allocations: 0 / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3073, allocations: 4.359 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005691/0.3079, allocations: 390.4 kB / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3079, allocations: 0 / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.308, allocations: 15.98 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.308, allocations: 7.938 kB / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.308, allocations: 4 kB / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.319e-06/0.308, allocations: 8.484 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.308, allocations: 3.984 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.3083, allocations: 224.2 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.3083, allocations: 11.91 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.3083, allocations: 7.938 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.3084, allocations: 3.984 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.3084, allocations: 7.984 kB / 0.5677 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.3084, allocations: 8 kB / 0.5677 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002498/0.3087, allocations: 208.1 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3087, allocations: 4 kB / 0.5679 GB, free: 13.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000256/0.3089, allocations: 27.92 kB / 0.5679 GB, free: 13.12 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.002269/0.3112, allocations: 1.129 MB / 0.569 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.3114, allocations: 67.95 kB / 0.5691 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3114, allocations: 0 / 0.5691 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.616e-05/0.3115, allocations: 43.91 kB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.3119, allocations: 26.23 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.3142, allocations: 1.86 MB / 0.571 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.3143, allocations: 105.1 kB / 0.5711 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.3144, allocations: 28.94 kB / 0.5711 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.3145, allocations: 43.42 kB / 0.5712 GB, free: 9.871 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3145, allocations: 0 / 0.5712 GB, free: 9.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.3383, allocations: 3.668 MB / 0.5747 GB, free: 6.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.25, allocations: 4.062 kB / 0.5747 GB, free: 6.223 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.167263956042007]