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.001724/0.001724, 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.002028/0.002028, 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.471/1.471, 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.2425/0.2425, allocations: 46.93 MB / 360.9 MB, free: 4.301 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.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.00231/0.00231, allocations: 75.88 kB / 0.4962 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3556, allocations: 66.04 MB / 0.5607 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.00419/0.3598, allocations: 1.692 MB / 0.5623 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.361, allocations: 0.6127 MB / 0.5629 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/0.3611, allocations: 0 / 0.5629 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006585/0.3618, allocations: 455.1 kB / 0.5634 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005394/0.3623, allocations: 295.3 kB / 0.5636 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.3628, allocations: 175.4 kB / 0.5638 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003751/0.3632, allocations: 183.6 kB / 0.564 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.3633, allocations: 30.31 kB / 0.564 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.3635, allocations: 111.7 kB / 0.5641 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.3639, allocations: 259.5 kB / 0.5644 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.3639, allocations: 4 kB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.3641, allocations: 51.92 kB / 0.5644 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.3642, allocations: 83.69 kB / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.3643, allocations: 110.9 kB / 0.5646 GB, free: 472 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.3648, allocations: 294.5 kB / 0.5649 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3648, allocations: 7.922 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3648, allocations: 0 / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3648, allocations: 0 / 0.5649 GB, free: 168 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.0009589/0.3658, allocations: 0.597 MB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3658, allocations: 8.031 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.584e-05/0.3659, allocations: 38.73 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.579e-05/0.3659, allocations: 48.59 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.3663, allocations: 250.8 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3663, allocations: 4.375 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.3663, allocations: 12.33 kB / 0.5658 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.3665, allocations: 65.61 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.3665, allocations: 3.984 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3666, allocations: 0 / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3666, allocations: 0 / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.3667, allocations: 43.91 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000671/0.3674, allocations: 395.7 kB / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.3677, allocations: 58.58 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.41e-05/0.3677, allocations: 24.97 kB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.3678, allocations: 3.938 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3678, allocations: 38.56 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.3678, allocations: 0 / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001604/0.3694, allocations: 0.5083 MB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.3695, allocations: 55.41 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009885/0.3705, allocations: 0.8776 MB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3705, allocations: 29.64 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.3707, allocations: 220.1 kB / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.3707, allocations: 31.7 kB / 0.5681 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.3708, allocations: 25.7 kB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.371, allocations: 366.8 kB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.3711, allocations: 47.97 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3713, allocations: 59.95 kB / 0.5686 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.3715, allocations: 125 kB / 0.5687 GB, free: 12.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3715, allocations: 3.938 kB / 0.5687 GB, free: 12.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003938/0.3719, allocations: 201.3 kB / 0.5689 GB, free: 11.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.372, allocations: 8 kB / 0.5689 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.372, allocations: 0 / 0.5689 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.372, allocations: 3.938 kB / 0.5689 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3721, allocations: 31.92 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3721, allocations: 7.984 kB / 0.5689 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.608e-05/0.3722, allocations: 4 kB / 0.5689 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3722, allocations: 4 kB / 0.569 GB, free: 11.8 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.0002196/0.3724, allocations: 217.8 kB / 0.5692 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.3725, allocations: 51.67 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.373, allocations: 233.4 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.373, allocations: 3.938 kB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.373, allocations: 0 / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.373, allocations: 0 / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009085/0.3739, allocations: 0.5771 MB / 0.57 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3739, allocations: 0 / 0.57 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.374, allocations: 27.97 kB / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.374, allocations: 0 / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.374, allocations: 8 kB / 0.57 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.374, allocations: 192 / 0.57 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.374, allocations: 4 kB / 0.57 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.3745, allocations: 320.8 kB / 0.5703 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.3746, allocations: 35.72 kB / 0.5704 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.3746, allocations: 7.984 kB / 0.5704 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3747, allocations: 15.98 kB / 0.5704 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.3748, allocations: 7.984 kB / 0.5704 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.3748, allocations: 8 kB / 0.5704 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006875/0.3755, allocations: 0.655 MB / 0.5711 GB, free: 9.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3755, allocations: 0 / 0.5711 GB, free: 9.547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.3758, allocations: 35.92 kB / 0.5711 GB, free: 9.512 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.002465/0.3782, allocations: 1.203 MB / 0.5723 GB, free: 8.465 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003868/0.3786, allocations: 123.8 kB / 0.5724 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3786, allocations: 0 / 0.5724 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.3788, allocations: 67.97 kB / 0.5724 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.3792, allocations: 26.3 kB / 0.5725 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004749/0.3839, allocations: 3.565 MB / 0.576 GB, free: 4.586 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/0.3845, allocations: 0.8377 MB / 0.5768 GB, free: 3.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.3846, allocations: 36.45 kB / 0.5768 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.3848, allocations: 127.4 kB / 0.5769 GB, free: 3.566 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3848, allocations: 0 / 0.5769 GB, free: 3.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.4206, allocations: 6.888 MB / 0.5837 GB, free: 12.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.18, allocations: 7.188 kB / 0.5837 GB, free: 12.75 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: 15.34290715586394]