Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.001482/0.001482, 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.00137/0.00137, allocations: 208.7 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.417/1.417, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.2179/0.2179, allocations: 46.95 MB / 361.6 MB, free: 3.957 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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 79.88 kB / 0.4969 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3058, allocations: 66.08 MB / 0.5614 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003101/0.3089, allocations: 1.591 MB / 0.563 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.3099, allocations: 0.5188 MB / 0.5635 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.31, allocations: 0 / 0.5635 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.3102, allocations: 31.78 kB / 0.5635 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.3104, allocations: 91.61 kB / 0.5636 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.3107, allocations: 114.9 kB / 0.5637 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.3109, allocations: 63.83 kB / 0.5638 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.846e-05/0.311, allocations: 8 kB / 0.5638 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.311, allocations: 27.86 kB / 0.5638 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.3111, allocations: 23.84 kB / 0.5639 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.3111, allocations: 4 kB / 0.5639 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-05/0.3112, allocations: 32 kB / 0.5639 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.3112, allocations: 15.92 kB / 0.5639 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.3112, allocations: 23.86 kB / 0.5639 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.3114, allocations: 91.53 kB / 0.564 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3114, allocations: 0 / 0.564 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3114, allocations: 0 / 0.564 GB, free: 1.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.3114, allocations: 0 / 0.564 GB, free: 1.434 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004552/0.3119, allocations: 317.8 kB / 0.5643 GB, free: 1.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3119, allocations: 8.031 kB / 0.5643 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.707e-05/0.3119, allocations: 4.188 kB / 0.5643 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.312, allocations: 30.75 kB / 0.5644 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.312, allocations: 12.84 kB / 0.5644 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.3122, allocations: 146.9 kB / 0.5645 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.3122, allocations: 384 / 0.5645 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.3122, allocations: 12.06 kB / 0.5645 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3123, allocations: 45.69 kB / 0.5646 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3124, allocations: 0 / 0.5646 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.3124, allocations: 4 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3124, allocations: 4 kB / 0.5646 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.158e-05/0.3125, allocations: 23.97 kB / 0.5646 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.3128, allocations: 248 kB / 0.5648 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.313, allocations: 58.48 kB / 0.5649 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.3131, allocations: 12.89 kB / 0.5649 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3131, allocations: 7.984 kB / 0.5649 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3131, allocations: 34.56 kB / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3131, allocations: 0 / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005561/0.3137, allocations: 153.4 kB / 0.5651 GB, free: 196 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.3137, allocations: 55.41 kB / 0.5651 GB, free: 128 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.3139, allocations: 174.5 kB / 0.5653 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3139, allocations: 25.7 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.314, allocations: 104.1 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.314, allocations: 11.91 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.3141, allocations: 17.72 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3142, allocations: 326.8 kB / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.3143, allocations: 23.92 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.462e-05/0.3144, allocations: 23.97 kB / 0.5658 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.3145, allocations: 60.77 kB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3145, allocations: 0 / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001891/0.3147, allocations: 81.58 kB / 0.566 GB, free: 15.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3147, allocations: 11.98 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3147, allocations: 0 / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3147, allocations: 0 / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.3148, allocations: 12 kB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3148, allocations: 7.984 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.3148, allocations: 11.92 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.3149, allocations: 4 kB / 0.566 GB, free: 15.2 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 (5): * Single equations (assignments): 5 * 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.0001021/0.315, allocations: 123.1 kB / 0.5661 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.315, allocations: 11.94 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.3152, allocations: 94.31 kB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3152, allocations: 0 / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3153, allocations: 4.062 kB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.3153, allocations: 3.938 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.3157, allocations: 333.6 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3157, allocations: 0 / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.788e-05/0.3158, allocations: 11.98 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3158, allocations: 4 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3158, allocations: 3.938 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3158, allocations: 3.938 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3158, allocations: 0 / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.316, allocations: 183.5 kB / 0.5667 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.3161, allocations: 15.91 kB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.3161, allocations: 7.922 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.3162, allocations: 4 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.3162, allocations: 7.922 kB / 0.5668 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3162, allocations: 4 kB / 0.5668 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.3163, allocations: 135.9 kB / 0.5669 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3163, allocations: 0 / 0.5669 GB, free: 14.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.3166, allocations: 19.94 kB / 0.5669 GB, free: 14.16 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 (5): * Single equations (assignments): 5 * 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.002056/0.3186, allocations: 1.038 MB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.3188, allocations: 55.83 kB / 0.568 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3188, allocations: 0 / 0.568 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/0.3189, allocations: 23.98 kB / 0.568 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.3192, allocations: 15.98 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.321, allocations: 1.525 MB / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.044e-05/0.3211, allocations: 83.47 kB / 0.5696 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.741e-05/0.3212, allocations: 20.03 kB / 0.5696 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.3212, allocations: 31.42 kB / 0.5697 GB, free: 11.39 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3212, allocations: 0 / 0.5697 GB, free: 11.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.3449, allocations: 2.914 MB / 0.5725 GB, free: 8.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.07, allocations: 15.67 kB / 0.5725 GB, free: 8.492 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.020074355998076]