Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001892/0.001892, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001493/0.001493, allocations: 213 kB / 23.73 MB, free: 4.16 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.2355/0.2355, allocations: 46.96 MB / 360.9 MB, free: 4.141 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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.91 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3619, allocations: 66.03 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003455/0.3654, allocations: 1.61 MB / 0.5622 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3666, allocations: 0.5378 MB / 0.5627 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.3666, allocations: 0 / 0.5627 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.3672, allocations: 455.1 kB / 0.5631 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004914/0.3677, allocations: 295.3 kB / 0.5634 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.3682, allocations: 171.2 kB / 0.5636 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.3685, allocations: 175.6 kB / 0.5637 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3686, allocations: 8 kB / 0.5638 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.3687, allocations: 107.8 kB / 0.5639 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.369, allocations: 247.5 kB / 0.5641 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.3691, allocations: 4 kB / 0.5641 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.161e-05/0.3691, allocations: 27.94 kB / 0.5641 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.3693, allocations: 84.67 kB / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.248e-05/0.3694, allocations: 67.25 kB / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.3698, allocations: 268.4 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3698, allocations: 0 / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3698, allocations: 0 / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.3698, allocations: 0 / 0.5645 GB, free: 224 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009007/0.3707, allocations: 0.5773 MB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3707, allocations: 8.031 kB / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.3708, allocations: 42.67 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/0.3709, allocations: 44.66 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.3712, allocations: 250.8 kB / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-06/0.3712, allocations: 384 / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.3712, allocations: 4.75 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3714, allocations: 53.62 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.3714, allocations: 0 / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3714, allocations: 0 / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3714, allocations: 0 / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.3715, allocations: 31.95 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.3721, allocations: 363.7 kB / 0.5659 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3722, allocations: 34.62 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/0.3723, allocations: 16.84 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.3723, allocations: 0 / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3723, allocations: 42.5 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.3723, allocations: 0 / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.000309/0.3726, allocations: 105.3 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.3727, allocations: 51.41 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.3738, allocations: 0.8738 MB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3738, allocations: 29.83 kB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.374, allocations: 228.1 kB / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.374, allocations: 7.891 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.3741, allocations: 17.72 kB / 0.5672 GB, free: 13.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.3743, allocations: 362.7 kB / 0.5676 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.537e-05/0.3743, allocations: 8 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.755e-05/0.3743, allocations: 11.98 kB / 0.5676 GB, free: 12.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.936e-05/0.3744, allocations: 28.78 kB / 0.5676 GB, free: 12.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3744, allocations: 8.062 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001692/0.3746, allocations: 93.39 kB / 0.5677 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3746, allocations: 4 kB / 0.5677 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3746, allocations: 0 / 0.5677 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3746, allocations: 4 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.3747, allocations: 4 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3747, allocations: 3.984 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.3748, allocations: 4 kB / 0.5677 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3748, allocations: 4 kB / 0.5677 GB, free: 12.74 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 (2): * Single equations (assignments): 2 * 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.0002198/0.375, allocations: 217.7 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.375, allocations: 43.67 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.3753, allocations: 116.8 kB / 0.5681 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3753, allocations: 0 / 0.5681 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3753, allocations: 0 / 0.5681 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3753, allocations: 0 / 0.5681 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.3756, allocations: 252.6 kB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3756, allocations: 0 / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.3756, allocations: 7.984 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3756, allocations: 4.031 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3756, allocations: 11.94 kB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3756, allocations: 0 / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3756, allocations: 0 / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.3759, allocations: 195.1 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.3759, allocations: 35.72 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.3759, allocations: 4 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.376, allocations: 3.984 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.376, allocations: 0 / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.376, allocations: 8 kB / 0.5686 GB, free: 11.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007252/0.3768, allocations: 0.6629 MB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3768, allocations: 3.938 kB / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000252/0.377, allocations: 16 kB / 0.5693 GB, free: 11.1 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 (2): * Single equations (assignments): 2 * 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.001888/0.3789, allocations: 0.9985 MB / 0.5702 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.3791, allocations: 31.91 kB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3791, allocations: 0 / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.3791, allocations: 12 kB / 0.5703 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.3796, allocations: 34.47 kB / 0.5703 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.3835, allocations: 3.191 MB / 0.5734 GB, free: 6.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.3837, allocations: 212.2 kB / 0.5736 GB, free: 6.652 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.3838, allocations: 15.73 kB / 0.5736 GB, free: 6.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.3839, allocations: 119.3 kB / 0.5737 GB, free: 6.52 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3839, allocations: 0 / 0.5737 GB, free: 6.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.4193, allocations: 6.306 MB / 0.5799 GB, free: 264 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.68, allocations: 6.578 kB / 0.5799 GB, free: 260 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.653362035751343]