Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2377/0.2377, allocations: 46.93 MB / 361.6 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.89 kB / 0.497 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.336, allocations: 66.03 MB / 0.5614 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.003514/0.3395, allocations: 1.687 MB / 0.5631 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.3416, allocations: 1.267 MB / 0.5643 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.3416, allocations: 0 / 0.5643 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.3418, allocations: 23.84 kB / 0.5643 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.3422, allocations: 87.56 kB / 0.5644 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.3425, allocations: 139.4 kB / 0.5646 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.3427, allocations: 71.72 kB / 0.5646 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3428, allocations: 18.22 kB / 0.5646 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.536e-05/0.3429, allocations: 31.86 kB / 0.5647 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.343, allocations: 39.83 kB / 0.5647 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.343, allocations: 4 kB / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.3432, allocations: 99.88 kB / 0.5648 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.3433, allocations: 19.92 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.3433, allocations: 35.8 kB / 0.5649 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.3436, allocations: 143.5 kB / 0.565 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3436, allocations: 3.938 kB / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3436, allocations: 0 / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3437, allocations: 3.938 kB / 0.565 GB, free: 0.9492 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.0006484/0.3443, allocations: 341.6 kB / 0.5653 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.3444, allocations: 8.031 kB / 0.5653 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.477e-05/0.3444, allocations: 8.188 kB / 0.5654 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.3444, allocations: 38.73 kB / 0.5654 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.3445, allocations: 8.891 kB / 0.5654 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.3447, allocations: 145 kB / 0.5655 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-06/0.3448, allocations: 384 / 0.5655 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.3448, allocations: 12.08 kB / 0.5655 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.345, allocations: 71.33 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.345, allocations: 0 / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.345, allocations: 0 / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.345, allocations: 8 kB / 0.5656 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.3452, allocations: 35.97 kB / 0.5657 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.3456, allocations: 263.9 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.3458, allocations: 42.5 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.076e-05/0.3459, allocations: 24.94 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3459, allocations: 3.984 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3459, allocations: 42.5 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3459, allocations: 0 / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008704/0.3468, allocations: 221.2 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.3469, allocations: 81.11 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.3471, allocations: 154.1 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.3471, allocations: 25.7 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.3472, allocations: 96.14 kB / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.3472, allocations: 27.73 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.3472, allocations: 21.72 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3474, allocations: 322.8 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.3475, allocations: 35.97 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3476, allocations: 41.69 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.3479, allocations: 80.78 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3479, allocations: 3.984 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003112/0.3482, allocations: 113.6 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3482, allocations: 4 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3482, allocations: 0 / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3482, allocations: 0 / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.3484, allocations: 23.98 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3484, allocations: 3.938 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.625e-05/0.3485, allocations: 15.98 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.3485, allocations: 320 / 0.5672 GB, free: 14.46 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 (7): * Single equations (assignments): 7 * 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.0001059/0.3486, allocations: 117.8 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.3486, allocations: 11.95 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.349, allocations: 126.3 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.349, allocations: 4 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.349, allocations: 3.938 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.349, allocations: 0 / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.3496, allocations: 369.5 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3496, allocations: 0 / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.235e-05/0.3497, allocations: 19.98 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3497, allocations: 8.219 kB / 0.5679 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3497, allocations: 3.984 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3497, allocations: 0 / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3497, allocations: 7.938 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.35, allocations: 203.4 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.3501, allocations: 19.92 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.3501, allocations: 7.938 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3502, allocations: 8 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.3502, allocations: 3.984 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.3503, allocations: 4 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.3504, allocations: 125.4 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3504, allocations: 0 / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.3507, allocations: 43.86 kB / 0.5683 GB, free: 13.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 (7): * Single equations (assignments): 7 * 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.002689/0.3534, allocations: 1.139 MB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003915/0.3538, allocations: 79.86 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3538, allocations: 4 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3539, allocations: 39.97 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.3544, allocations: 15.98 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.3569, allocations: 1.597 MB / 0.5711 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.3572, allocations: 0.6963 MB / 0.5718 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.836e-05/0.3573, allocations: 12.97 kB / 0.5718 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.462e-05/0.3574, allocations: 39.41 kB / 0.5718 GB, free: 9.738 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3574, allocations: 0 / 0.5718 GB, free: 9.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.3825, allocations: 3.704 MB / 0.5754 GB, free: 6.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.92, allocations: 8.047 kB / 0.5754 GB, free: 6.07 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test14_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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: 15.00935278198449]