Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001279/0.001279, allocations: 111.5 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.001402/0.001402, allocations: 209.2 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.385/1.385, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2237/0.2237, allocations: 46.96 MB / 361.6 MB, free: 3.938 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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 79.88 kB / 0.4969 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3174, allocations: 66.08 MB / 0.5615 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002918/0.3203, allocations: 1.65 MB / 0.5631 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009721/0.3213, allocations: 0.5226 MB / 0.5636 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.3214, allocations: 0 / 0.5636 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.3219, allocations: 455.1 kB / 0.564 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004519/0.3224, allocations: 299.2 kB / 0.5643 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.3227, allocations: 131 kB / 0.5644 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.3229, allocations: 171.6 kB / 0.5646 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.774e-05/0.323, allocations: 17.81 kB / 0.5646 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.3231, allocations: 111.8 kB / 0.5647 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.3234, allocations: 239.5 kB / 0.5649 GB, free: 376 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.3234, allocations: 4 kB / 0.5649 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-05/0.3235, allocations: 39.92 kB / 0.565 GB, free: 332 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.916e-05/0.3236, allocations: 83.62 kB / 0.5651 GB, free: 248 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/0.3236, allocations: 71.23 kB / 0.5651 GB, free: 176 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.324, allocations: 270.8 kB / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.324, allocations: 0 / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.324, allocations: 4 kB / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.324, allocations: 0 / 0.5654 GB, free: 15.9 MB / 414.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.0006993/0.3247, allocations: 0.5815 MB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3247, allocations: 15.97 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.824e-05/0.3247, allocations: 4.188 kB / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.734e-05/0.3248, allocations: 30.75 kB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.3248, allocations: 48.61 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.3251, allocations: 250.8 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3251, allocations: 8.375 kB / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.3251, allocations: 4.375 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.3252, allocations: 50 kB / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3252, allocations: 0 / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3253, allocations: 4 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3253, allocations: 4 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.745e-05/0.3253, allocations: 23.92 kB / 0.5664 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.3258, allocations: 359.7 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.326, allocations: 38.56 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.326, allocations: 28.88 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.326, allocations: 0 / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3261, allocations: 30.56 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3261, allocations: 4 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005783/0.3266, allocations: 232.7 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.3267, allocations: 51.41 kB / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008632/0.3275, allocations: 0.8699 MB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.3276, allocations: 29.7 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.3278, allocations: 224.1 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.3278, allocations: 19.84 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.3278, allocations: 21.7 kB / 0.5682 GB, free: 12.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.328, allocations: 358.7 kB / 0.5686 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.797e-05/0.328, allocations: 19.98 kB / 0.5686 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.959e-05/0.3281, allocations: 24.11 kB / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.3282, allocations: 52.83 kB / 0.5687 GB, free: 12.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3282, allocations: 4 kB / 0.5687 GB, free: 12.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002139/0.3285, allocations: 121.3 kB / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3285, allocations: 4 kB / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3285, allocations: 0 / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3285, allocations: 0 / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.3285, allocations: 15.98 kB / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.3285, allocations: 3.938 kB / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.3286, allocations: 7.984 kB / 0.5688 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3286, allocations: 7.938 kB / 0.5688 GB, free: 12.18 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.0001905/0.3288, allocations: 211.1 kB / 0.569 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.3289, allocations: 43.72 kB / 0.5691 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.3291, allocations: 137.2 kB / 0.5692 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3292, allocations: 4 kB / 0.5692 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3292, allocations: 0 / 0.5692 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3292, allocations: 0 / 0.5692 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005194/0.3297, allocations: 429.6 kB / 0.5696 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3297, allocations: 0 / 0.5696 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-05/0.3297, allocations: 20.2 kB / 0.5696 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3297, allocations: 0 / 0.5696 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3297, allocations: 0 / 0.5696 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3298, allocations: 4.125 kB / 0.5696 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3298, allocations: 4 kB / 0.5696 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.33, allocations: 223.2 kB / 0.5698 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.3301, allocations: 35.72 kB / 0.5699 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.3301, allocations: 7.984 kB / 0.5699 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.3302, allocations: 7.938 kB / 0.5699 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.3302, allocations: 4 kB / 0.5699 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3302, allocations: 3.984 kB / 0.5699 GB, free: 10.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006357/0.3308, allocations: 0.655 MB / 0.5705 GB, free: 10.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3308, allocations: 0 / 0.5705 GB, free: 10.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.3311, allocations: 31.92 kB / 0.5706 GB, free: 10.3 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.001991/0.3331, allocations: 1.071 MB / 0.5716 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.3333, allocations: 47.91 kB / 0.5717 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3333, allocations: 0 / 0.5717 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.404e-05/0.3333, allocations: 27.91 kB / 0.5717 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.3337, allocations: 30.23 kB / 0.5717 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.3374, allocations: 3.252 MB / 0.5749 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.3377, allocations: 216.2 kB / 0.5751 GB, free: 5.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.85e-05/0.3377, allocations: 7.984 kB / 0.5751 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.3378, allocations: 107.4 kB / 0.5752 GB, free: 5.562 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3378, allocations: 0 / 0.5752 GB, free: 5.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.3642, allocations: 6.3 MB / 0.5814 GB, free: 15.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.66, allocations: 7.312 kB / 0.5814 GB, free: 15.29 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.579448856064118]