Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001391/0.001391, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00146/0.00146, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2338/0.2338, allocations: 46.96 MB / 360.9 MB, free: 4.113 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.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 63.89 kB / 0.4961 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3473, allocations: 66.04 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003366/0.3506, allocations: 1.661 MB / 0.5622 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3518, allocations: 0.5777 MB / 0.5628 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.3518, allocations: 4 kB / 0.5628 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006355/0.3525, allocations: 455.1 kB / 0.5632 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.3529, allocations: 295.3 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.3534, allocations: 167.5 kB / 0.5637 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.3536, allocations: 195.5 kB / 0.5639 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3537, allocations: 18.05 kB / 0.5639 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.3539, allocations: 115.7 kB / 0.564 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.3541, allocations: 247.5 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.3542, allocations: 7.938 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.3543, allocations: 55.91 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.3544, allocations: 91.69 kB / 0.5644 GB, free: 336 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.3545, allocations: 71.23 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.3548, allocations: 298.6 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3548, allocations: 0 / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3548, allocations: 0 / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.3548, allocations: 0 / 0.5647 GB, free: 15.96 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007936/0.3556, allocations: 0.6047 MB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3557, allocations: 8.031 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.3557, allocations: 38.73 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.3558, allocations: 48.59 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.3561, allocations: 246.8 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3561, allocations: 4.375 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.3561, allocations: 12.33 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3563, allocations: 69.59 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3563, allocations: 0 / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3563, allocations: 4 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3564, allocations: 0 / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.3565, allocations: 39.91 kB / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.3571, allocations: 387.7 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.3574, allocations: 62.58 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.3574, allocations: 28.95 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.3575, allocations: 4 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3575, allocations: 34.5 kB / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.3575, allocations: 0 / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001601/0.3591, allocations: 0.5122 MB / 0.5668 GB, free: 13.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.3591, allocations: 55.41 kB / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009446/0.3601, allocations: 0.8737 MB / 0.5677 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3601, allocations: 29.64 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.3603, allocations: 220.1 kB / 0.5679 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.3604, allocations: 35.69 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.3604, allocations: 25.7 kB / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.3606, allocations: 358.8 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.3607, allocations: 55.95 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.3609, allocations: 59.95 kB / 0.5684 GB, free: 11.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.3612, allocations: 120.8 kB / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3612, allocations: 0 / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003825/0.3616, allocations: 201.2 kB / 0.5687 GB, free: 11.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3616, allocations: 12 kB / 0.5687 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3616, allocations: 0 / 0.5687 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3616, allocations: 3.938 kB / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3617, allocations: 31.92 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3617, allocations: 0 / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.32e-05/0.3618, allocations: 11.98 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3618, allocations: 0 / 0.5688 GB, free: 11.61 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 (11): * Single equations (assignments): 11 * 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.0002179/0.362, allocations: 221.8 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.3621, allocations: 47.67 kB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/0.3626, allocations: 233.4 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3626, allocations: 7.938 kB / 0.5693 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3626, allocations: 0 / 0.5693 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3626, allocations: 0 / 0.5693 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008992/0.3635, allocations: 0.5615 MB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3635, allocations: 4 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.3636, allocations: 23.98 kB / 0.5698 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3636, allocations: 0 / 0.5698 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3636, allocations: 8 kB / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3636, allocations: 192 / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3636, allocations: 0 / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.3641, allocations: 324.8 kB / 0.5702 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.3642, allocations: 39.7 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.3642, allocations: 4 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3643, allocations: 11.98 kB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.3644, allocations: 11.97 kB / 0.5702 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.3644, allocations: 8 kB / 0.5702 GB, free: 10.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006867/0.3651, allocations: 0.655 MB / 0.5709 GB, free: 9.363 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3651, allocations: 0 / 0.5709 GB, free: 9.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.3654, allocations: 35.94 kB / 0.5709 GB, free: 9.328 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002675/0.3681, allocations: 1.231 MB / 0.5721 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.3684, allocations: 131.8 kB / 0.5722 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3684, allocations: 0 / 0.5722 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.3686, allocations: 63.89 kB / 0.5723 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.369, allocations: 31.14 kB / 0.5723 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004621/0.3736, allocations: 3.568 MB / 0.5758 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.3739, allocations: 236.8 kB / 0.576 GB, free: 4.148 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.374, allocations: 36.45 kB / 0.5761 GB, free: 4.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.3742, allocations: 127.4 kB / 0.5762 GB, free: 3.992 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3742, allocations: 0 / 0.5762 GB, free: 3.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.4115, allocations: 7.193 MB / 0.5832 GB, free: 12.85 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.57, allocations: 8.859 kB / 0.5832 GB, free: 12.84 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.659255360253155]