Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.001647/0.001647, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002157/0.002157, allocations: 216.6 kB / 23.74 MB, free: 4.656 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 / 257.5 MB, free: 8.035 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.2528/0.2528, allocations: 46.93 MB / 360.9 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 179] 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.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 67.89 kB / 0.4962 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3456, allocations: 66.03 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.00347/0.3491, allocations: 1.947 MB / 0.5626 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.351, allocations: 1.006 MB / 0.5635 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.3511, allocations: 0 / 0.5635 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005283/0.3516, allocations: 267.1 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005191/0.3522, allocations: 255.1 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3532, allocations: 474 kB / 0.5645 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.3536, allocations: 307.1 kB / 0.5648 GB, free: 224 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.3538, allocations: 38.69 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.3539, allocations: 135.4 kB / 0.5649 GB, free: 48 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.3542, allocations: 211.2 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.3543, allocations: 12 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.3544, allocations: 59.92 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3545, allocations: 83.67 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.3546, allocations: 123 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.355, allocations: 306.4 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.355, allocations: 0 / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.355, allocations: 0 / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.355, allocations: 0 / 0.5657 GB, free: 15.27 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007831/0.3558, allocations: 0.5955 MB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3559, allocations: 8.031 kB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.09e-05/0.3559, allocations: 46.73 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.356, allocations: 40.66 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.3563, allocations: 272.6 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3564, allocations: 384 / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.3564, allocations: 4.375 kB / 0.5666 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.3566, allocations: 89.59 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3566, allocations: 0 / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3566, allocations: 4 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3566, allocations: 0 / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.3567, allocations: 55.91 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/0.3573, allocations: 423.5 kB / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.3575, allocations: 54.5 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.756e-05/0.3575, allocations: 24.97 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.3576, allocations: 11.98 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3576, allocations: 34.56 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.103e-06/0.3576, allocations: 0 / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003393/0.3579, allocations: 129.4 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.358, allocations: 59.34 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006841/0.3587, allocations: 0.5877 MB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.3587, allocations: 29.7 kB / 0.5681 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.3589, allocations: 208.1 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.3589, allocations: 19.84 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.3589, allocations: 25.72 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3591, allocations: 350.8 kB / 0.5687 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.3592, allocations: 27.92 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.952e-05/0.3592, allocations: 15.98 kB / 0.5687 GB, free: 12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.3593, allocations: 49.22 kB / 0.5688 GB, free: 11.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3593, allocations: 0 / 0.5688 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002051/0.3595, allocations: 121.4 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3595, allocations: 4 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3596, allocations: 0 / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3596, allocations: 3.938 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.3597, allocations: 19.92 kB / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3597, allocations: 0 / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.3597, allocations: 11.89 kB / 0.5689 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.3597, allocations: 0 / 0.5689 GB, free: 11.79 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 (6): * Single equations (assignments): 6 * 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.0001623/0.3599, allocations: 169.8 kB / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.36, allocations: 47.72 kB / 0.5691 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.3602, allocations: 121.2 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3602, allocations: 7.938 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3602, allocations: 3.938 kB / 0.5692 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3602, allocations: 3.984 kB / 0.5693 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.3605, allocations: 264.6 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3605, allocations: 0 / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.3606, allocations: 15.94 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3606, allocations: 0 / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3606, allocations: 7.984 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3606, allocations: 7.938 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3606, allocations: 0 / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.3609, allocations: 211.4 kB / 0.5697 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.3609, allocations: 35.75 kB / 0.5698 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.361, allocations: 8 kB / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.3611, allocations: 11.92 kB / 0.5698 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.3611, allocations: 8 kB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3611, allocations: 7.938 kB / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004733/0.3616, allocations: 439.1 kB / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3616, allocations: 0 / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.3618, allocations: 35.89 kB / 0.5703 GB, free: 10.33 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 (6): * Single equations (assignments): 6 * 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.002769/0.3646, allocations: 1.253 MB / 0.5715 GB, free: 9.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.3648, allocations: 47.91 kB / 0.5715 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3648, allocations: 0 / 0.5715 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.362e-05/0.3649, allocations: 27.98 kB / 0.5716 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.3654, allocations: 81.58 kB / 0.5716 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.3689, allocations: 2.851 MB / 0.5744 GB, free: 6.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.3693, allocations: 0.8022 MB / 0.5752 GB, free: 5.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.3694, allocations: 33.61 kB / 0.5752 GB, free: 5.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.3696, allocations: 115.4 kB / 0.5753 GB, free: 5.273 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3696, allocations: 4 kB / 0.5753 GB, free: 5.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03813/0.4077, allocations: 6.944 MB / 0.5821 GB, free: 14.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.94, allocations: 19.95 kB / 0.5821 GB, free: 14.38 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.03121063602157]