Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001809/0.001809, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002372/0.002372, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2442/0.2442, allocations: 46.93 MB / 360.9 MB, free: 4.262 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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.89 kB / 0.4962 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3562, allocations: 66.04 MB / 0.5607 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003331/0.3596, allocations: 1.684 MB / 0.5623 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3607, allocations: 0.5972 MB / 0.5629 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.3608, allocations: 4 kB / 0.5629 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006303/0.3614, allocations: 451.1 kB / 0.5633 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.3619, allocations: 295.3 kB / 0.5636 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.3623, allocations: 175.3 kB / 0.5638 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.3626, allocations: 187.6 kB / 0.564 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3627, allocations: 22.05 kB / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.3628, allocations: 115.7 kB / 0.5641 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.3631, allocations: 243.5 kB / 0.5643 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3631, allocations: 4 kB / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.3632, allocations: 59.91 kB / 0.5644 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.3634, allocations: 87.62 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.57e-05/0.3634, allocations: 99 kB / 0.5646 GB, free: 460 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.3638, allocations: 298.5 kB / 0.5649 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3638, allocations: 0 / 0.5649 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3638, allocations: 0 / 0.5649 GB, free: 160 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3638, allocations: 0 / 0.5649 GB, free: 160 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007711/0.3646, allocations: 0.597 MB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3647, allocations: 8.031 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.798e-05/0.3647, allocations: 50.59 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.3648, allocations: 44.66 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.3651, allocations: 246.8 kB / 0.5658 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.65e-06/0.3651, allocations: 8.375 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.3651, allocations: 4.375 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3653, allocations: 65.61 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3653, allocations: 0 / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.3653, allocations: 0 / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.3653, allocations: 3.938 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.3654, allocations: 35.97 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.3659, allocations: 383.7 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.366, allocations: 50.59 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.3661, allocations: 12.94 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.3661, allocations: 8 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3661, allocations: 30.56 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3661, allocations: 0 / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009349/0.3671, allocations: 328.5 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.3671, allocations: 55.34 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009396/0.3681, allocations: 0.8738 MB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.3681, allocations: 29.7 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.3683, allocations: 228.1 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.3683, allocations: 31.73 kB / 0.5678 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.3684, allocations: 33.58 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3686, allocations: 362.8 kB / 0.5682 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.3687, allocations: 27.98 kB / 0.5682 GB, free: 12.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.873e-05/0.3688, allocations: 31.97 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3689, allocations: 76.83 kB / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3689, allocations: 0 / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002616/0.3692, allocations: 145.3 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3692, allocations: 4 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3692, allocations: 3.984 kB / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3692, allocations: 0 / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.3693, allocations: 23.88 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3693, allocations: 3.984 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.3694, allocations: 12 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3694, allocations: 7.938 kB / 0.5685 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 (8): * Single equations (assignments): 8 * 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.0002026/0.3696, allocations: 213.8 kB / 0.5687 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.3697, allocations: 43.72 kB / 0.5688 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.37, allocations: 177.8 kB / 0.569 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.37, allocations: 3.938 kB / 0.569 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.37, allocations: 12.36 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.37, allocations: 4 kB / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007112/0.3707, allocations: 0.4904 MB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3707, allocations: 0 / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.3708, allocations: 23.98 kB / 0.5695 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3708, allocations: 0 / 0.5695 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3708, allocations: 3.984 kB / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3708, allocations: 8.031 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3708, allocations: 0 / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.3712, allocations: 252 kB / 0.5697 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.3712, allocations: 43.66 kB / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.3712, allocations: 4 kB / 0.5698 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.3713, allocations: 8 kB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.3714, allocations: 7.984 kB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.3714, allocations: 0 / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006831/0.3721, allocations: 0.6628 MB / 0.5704 GB, free: 10.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3721, allocations: 0 / 0.5704 GB, free: 10.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.3723, allocations: 24 kB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002256/0.3746, allocations: 1.147 MB / 0.5716 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.3748, allocations: 75.95 kB / 0.5717 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3748, allocations: 0 / 0.5717 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3749, allocations: 47.89 kB / 0.5717 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3753, allocations: 27.61 kB / 0.5717 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/0.3793, allocations: 3.4 MB / 0.575 GB, free: 5.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.3798, allocations: 0.8304 MB / 0.5759 GB, free: 4.625 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.281e-05/0.3799, allocations: 24.42 kB / 0.5759 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.38, allocations: 119.4 kB / 0.576 GB, free: 4.484 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.38, allocations: 4 kB / 0.576 GB, free: 4.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.4137, allocations: 6.654 MB / 0.5825 GB, free: 13.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.04, allocations: 0 / 0.5825 GB, free: 13.9 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.264872251078486]