Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001536/0.001536, 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.001785/0.001785, allocations: 210.1 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.421/1.421, 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.2321/0.2321, allocations: 46.95 MB / 361.6 MB, free: 3.934 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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 79.88 kB / 0.4969 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3355, allocations: 66.08 MB / 0.5615 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003129/0.3387, allocations: 1.651 MB / 0.5631 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3397, allocations: 0.5499 MB / 0.5636 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.3398, allocations: 0 / 0.5636 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006037/0.3404, allocations: 463.1 kB / 0.564 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004636/0.3408, allocations: 291.3 kB / 0.5643 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.3413, allocations: 170.8 kB / 0.5645 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.3415, allocations: 179.6 kB / 0.5647 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.3416, allocations: 9.828 kB / 0.5647 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.3417, allocations: 115.7 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.342, allocations: 247.5 kB / 0.565 GB, free: 408 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.342, allocations: 4 kB / 0.565 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.582e-05/0.3421, allocations: 39.98 kB / 0.5651 GB, free: 364 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.3422, allocations: 87.61 kB / 0.5651 GB, free: 276 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.857e-05/0.3423, allocations: 71.25 kB / 0.5652 GB, free: 204 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.3426, allocations: 274.5 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3426, allocations: 0 / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3426, allocations: 4 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3426, allocations: 0 / 0.5655 GB, free: 15.93 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.0007468/0.3434, allocations: 0.5854 MB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3434, allocations: 12.03 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.447e-05/0.3434, allocations: 192 / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.3435, allocations: 38.75 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.3435, allocations: 40.66 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.3438, allocations: 254.7 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3438, allocations: 12.25 kB / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.3438, allocations: 384 / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.344, allocations: 62 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.344, allocations: 0 / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.344, allocations: 0 / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.344, allocations: 0 / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.3441, allocations: 35.97 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.3446, allocations: 371.6 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.3448, allocations: 46.56 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.3449, allocations: 12.94 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.3449, allocations: 0 / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.3449, allocations: 42.56 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3449, allocations: 0 / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006025/0.3455, allocations: 236.7 kB / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3455, allocations: 59.34 kB / 0.5672 GB, free: 13.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008861/0.3464, allocations: 0.8777 MB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.3464, allocations: 25.7 kB / 0.5681 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.3466, allocations: 224.1 kB / 0.5683 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.3467, allocations: 27.78 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.3467, allocations: 17.72 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3469, allocations: 366.7 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.235e-05/0.347, allocations: 23.97 kB / 0.5687 GB, free: 12.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/0.347, allocations: 23.92 kB / 0.5687 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3472, allocations: 53.02 kB / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3472, allocations: 4 kB / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002167/0.3474, allocations: 125.4 kB / 0.5689 GB, free: 12.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3474, allocations: 4 kB / 0.5689 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.3474, allocations: 0 / 0.5689 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3474, allocations: 4 kB / 0.5689 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.3475, allocations: 11.98 kB / 0.5689 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3475, allocations: 0 / 0.5689 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.707e-05/0.3475, allocations: 7.938 kB / 0.5689 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3475, allocations: 7.938 kB / 0.569 GB, free: 12.15 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.0001973/0.3477, allocations: 215.1 kB / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.3478, allocations: 51.67 kB / 0.5692 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.3481, allocations: 141.2 kB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3481, allocations: 0 / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3481, allocations: 0 / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3481, allocations: 4 kB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.3487, allocations: 437.4 kB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3487, allocations: 0 / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.3487, allocations: 15.98 kB / 0.5698 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3487, allocations: 7.938 kB / 0.5698 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.3487, allocations: 0 / 0.5698 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3487, allocations: 3.938 kB / 0.5698 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3487, allocations: 4 kB / 0.5698 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.349, allocations: 223.4 kB / 0.57 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.349, allocations: 32.06 kB / 0.57 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.3491, allocations: 7.984 kB / 0.57 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.719e-05/0.3492, allocations: 11.88 kB / 0.5701 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.3492, allocations: 7.984 kB / 0.5701 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.3492, allocations: 11.98 kB / 0.5701 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006314/0.3498, allocations: 0.655 MB / 0.5707 GB, free: 10.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3498, allocations: 4 kB / 0.5707 GB, free: 10.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.3501, allocations: 27.88 kB / 0.5707 GB, free: 10.23 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.001982/0.3521, allocations: 1.069 MB / 0.5718 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.3523, allocations: 59.91 kB / 0.5718 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3523, allocations: 0 / 0.5718 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.473e-05/0.3524, allocations: 27.98 kB / 0.5719 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.3527, allocations: 26.23 kB / 0.5719 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.3564, allocations: 3.279 MB / 0.5751 GB, free: 5.801 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3567, allocations: 228.1 kB / 0.5753 GB, free: 5.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.527e-05/0.3568, allocations: 12.66 kB / 0.5753 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3569, allocations: 119.4 kB / 0.5754 GB, free: 5.422 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3569, allocations: 0 / 0.5754 GB, free: 5.422 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.3828, allocations: 6.37 MB / 0.5817 GB, free: 15.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.52, allocations: 15.66 kB / 0.5817 GB, free: 15.07 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.563135733013041]