Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001789/0.001789, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002223/0.002223, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.461/1.461, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2238/0.2238, allocations: 44.92 MB / 359.6 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 71.89 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3476, allocations: 65.46 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003156/0.3507, allocations: 1.682 MB / 0.5595 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3518, allocations: 0.5737 MB / 0.56 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.3518, allocations: 0 / 0.56 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005842/0.3524, allocations: 463.1 kB / 0.5605 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.3529, allocations: 295.3 kB / 0.5607 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.3533, allocations: 131.4 kB / 0.5609 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.3535, allocations: 171.6 kB / 0.561 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3536, allocations: 17.81 kB / 0.561 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.3537, allocations: 115.7 kB / 0.5612 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.3541, allocations: 243.5 kB / 0.5614 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.3541, allocations: 4 kB / 0.5614 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.3542, allocations: 59.89 kB / 0.5614 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.3543, allocations: 83.64 kB / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.877e-05/0.3544, allocations: 110.9 kB / 0.5616 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.3548, allocations: 286.5 kB / 0.5619 GB, free: 3.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3548, allocations: 4 kB / 0.5619 GB, free: 3.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3548, allocations: 0 / 0.5619 GB, free: 3.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3549, allocations: 0 / 0.5619 GB, free: 3.578 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007643/0.3556, allocations: 0.5953 MB / 0.5625 GB, free: 2.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3557, allocations: 8.031 kB / 0.5625 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.909e-05/0.3557, allocations: 12.19 kB / 0.5625 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.3557, allocations: 34.69 kB / 0.5625 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.3558, allocations: 44.66 kB / 0.5626 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.3561, allocations: 250.8 kB / 0.5628 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.3561, allocations: 4.375 kB / 0.5628 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.3561, allocations: 8.125 kB / 0.5628 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.3563, allocations: 57.67 kB / 0.5629 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3563, allocations: 3.938 kB / 0.5629 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3563, allocations: 0 / 0.5629 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3563, allocations: 0 / 0.5629 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.988e-05/0.3564, allocations: 31.97 kB / 0.5629 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.3569, allocations: 371.8 kB / 0.5633 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.357, allocations: 46.59 kB / 0.5633 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/0.357, allocations: 12.86 kB / 0.5633 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3571, allocations: 0 / 0.5633 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.3571, allocations: 38.64 kB / 0.5634 GB, free: 1.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.3571, allocations: 0 / 0.5634 GB, free: 1.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009825/0.3581, allocations: 320.4 kB / 0.5637 GB, free: 1.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.3581, allocations: 55.41 kB / 0.5637 GB, free: 1.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009174/0.3591, allocations: 0.866 MB / 0.5646 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3591, allocations: 29.7 kB / 0.5646 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.3593, allocations: 236 kB / 0.5648 GB, free: 420 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.3593, allocations: 31.72 kB / 0.5649 GB, free: 388 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.3594, allocations: 21.72 kB / 0.5649 GB, free: 360 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.3595, allocations: 362.8 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.3596, allocations: 23.98 kB / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/0.3597, allocations: 23.98 kB / 0.5653 GB, free: 15.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.3599, allocations: 69.05 kB / 0.5653 GB, free: 15.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3599, allocations: 3.938 kB / 0.5653 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002535/0.3601, allocations: 133.4 kB / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3601, allocations: 8 kB / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3601, allocations: 0 / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3602, allocations: 3.938 kB / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.3603, allocations: 23.92 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3603, allocations: 0 / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.458e-05/0.3603, allocations: 8 kB / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3603, allocations: 7.984 kB / 0.5655 GB, free: 15.68 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.0002032/0.3605, allocations: 209.8 kB / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.465e-05/0.3606, allocations: 47.67 kB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.361, allocations: 161.5 kB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.361, allocations: 3.938 kB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.361, allocations: 11.98 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.361, allocations: 0 / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000754/0.3617, allocations: 482.3 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3617, allocations: 0 / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.351e-05/0.3618, allocations: 15.98 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3618, allocations: 0 / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.3618, allocations: 4 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3618, allocations: 4.031 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3618, allocations: 0 / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.3622, allocations: 247.9 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/0.3622, allocations: 43.7 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.3623, allocations: 0 / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.632e-05/0.3623, allocations: 8 kB / 0.5667 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.3624, allocations: 11.98 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.3624, allocations: 0 / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006917/0.3631, allocations: 0.6628 MB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3631, allocations: 4 kB / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.3634, allocations: 27.94 kB / 0.5674 GB, free: 13.66 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.00234/0.3657, allocations: 1.138 MB / 0.5685 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003474/0.3661, allocations: 67.94 kB / 0.5686 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3661, allocations: 0 / 0.5686 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.681e-05/0.3662, allocations: 35.92 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.3666, allocations: 32.11 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.3709, allocations: 3.337 MB / 0.5719 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.3714, allocations: 0.8226 MB / 0.5727 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.098e-05/0.3715, allocations: 20.72 kB / 0.5727 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.3717, allocations: 111.4 kB / 0.5728 GB, free: 8.145 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3717, allocations: 0 / 0.5728 GB, free: 8.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.3994, allocations: 6.594 MB / 0.5793 GB, free: 1.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.26, allocations: 9.422 kB / 0.5793 GB, free: 1.625 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.371569650014862]