Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001821/0.001821, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00227/0.00227, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.552/1.552, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2332/0.2332, allocations: 44.93 MB / 359.6 MB, free: 6.062 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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",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.00222/0.00222, allocations: 59.91 kB / 0.4938 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3641, allocations: 65.48 MB / 0.5577 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004004/0.3681, allocations: 1.975 MB / 0.5597 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.3706, allocations: 1.295 MB / 0.5609 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.3708, allocations: 11.94 kB / 0.5609 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.3711, allocations: 59.55 kB / 0.561 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005426/0.3716, allocations: 211.1 kB / 0.5612 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.373, allocations: 0.603 MB / 0.5618 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004354/0.3735, allocations: 323.1 kB / 0.5621 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.3737, allocations: 48.91 kB / 0.5621 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.374, allocations: 147.3 kB / 0.5623 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.3743, allocations: 203.2 kB / 0.5625 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.3743, allocations: 16 kB / 0.5625 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.3745, allocations: 63.97 kB / 0.5626 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.3747, allocations: 151.4 kB / 0.5627 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.3748, allocations: 138.9 kB / 0.5628 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000536/0.3754, allocations: 419.8 kB / 0.5632 GB, free: 1.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.3754, allocations: 4 kB / 0.5632 GB, free: 1.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3754, allocations: 0 / 0.5632 GB, free: 1.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3754, allocations: 0 / 0.5632 GB, free: 1.934 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.00113/0.3765, allocations: 0.7523 MB / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3766, allocations: 12.03 kB / 0.564 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.556e-05/0.3766, allocations: 4.188 kB / 0.564 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.3766, allocations: 42.73 kB / 0.564 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002917/0.3769, allocations: 84.5 kB / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007047/0.3776, allocations: 423.2 kB / 0.5645 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3776, allocations: 12.12 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.3777, allocations: 15.98 kB / 0.5645 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.378, allocations: 137 kB / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.378, allocations: 4 kB / 0.5647 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.378, allocations: 4 kB / 0.5647 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.378, allocations: 0 / 0.5647 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.3783, allocations: 103.9 kB / 0.5648 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.3793, allocations: 0.652 MB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.3795, allocations: 117.2 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.3796, allocations: 41.81 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.3796, allocations: 7.938 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3797, allocations: 38.56 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3797, allocations: 0 / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001462/0.3811, allocations: 0.5663 MB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.3812, allocations: 81.11 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.3823, allocations: 0.9299 MB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3823, allocations: 25.7 kB / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.3826, allocations: 268.3 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.3827, allocations: 71.45 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/0.3827, allocations: 33.7 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3829, allocations: 321.9 kB / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.3831, allocations: 59.95 kB / 0.5679 GB, free: 12.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.3832, allocations: 85.59 kB / 0.568 GB, free: 12.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.3836, allocations: 158 kB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3836, allocations: 8 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004852/0.3841, allocations: 245.2 kB / 0.5684 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3841, allocations: 4 kB / 0.5684 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3841, allocations: 0 / 0.5684 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3841, allocations: 7.984 kB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.3843, allocations: 35.97 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3843, allocations: 0 / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.3844, allocations: 12 kB / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.3844, allocations: 11.98 kB / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002322/0.3847, allocations: 217.7 kB / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3848, allocations: 59.58 kB / 0.5687 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006328/0.3854, allocations: 286.9 kB / 0.569 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3854, allocations: 8 kB / 0.569 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3854, allocations: 0 / 0.569 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3854, allocations: 4.094 kB / 0.569 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.3866, allocations: 0.7621 MB / 0.5697 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3866, allocations: 0 / 0.5697 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.3868, allocations: 39.91 kB / 0.5698 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.3868, allocations: 8 kB / 0.5698 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.3868, allocations: 4 kB / 0.5698 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3868, allocations: 3.938 kB / 0.5698 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3868, allocations: 4 kB / 0.5698 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.3874, allocations: 422.3 kB / 0.5702 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.3875, allocations: 71.59 kB / 0.5703 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.3876, allocations: 12 kB / 0.5703 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.3878, allocations: 19.86 kB / 0.5703 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.3878, allocations: 19.92 kB / 0.5703 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.3878, allocations: 7.984 kB / 0.5703 GB, free: 10.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008103/0.3886, allocations: 0.6786 MB / 0.571 GB, free: 9.676 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3886, allocations: 0 / 0.571 GB, free: 9.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003604/0.389, allocations: 59.94 kB / 0.571 GB, free: 9.617 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 (16): * Single equations (assignments): 16 * 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.00241/0.3914, allocations: 1.283 MB / 0.5723 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004416/0.3919, allocations: 155.8 kB / 0.5724 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3919, allocations: 0 / 0.5724 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.3921, allocations: 87.83 kB / 0.5725 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.3927, allocations: 82.14 kB / 0.5726 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007279/0.3999, allocations: 5.201 MB / 0.5777 GB, free: 2.883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.4003, allocations: 278.5 kB / 0.5779 GB, free: 2.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.4005, allocations: 91.22 kB / 0.578 GB, free: 2.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.4008, allocations: 179.4 kB / 0.5782 GB, free: 2.328 MB / 414.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4008, allocations: 0 / 0.5782 GB, free: 2.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.4371, allocations: 10.59 MB / 0.5885 GB, free: 7.848 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.74, allocations: 14.92 kB / 0.5885 GB, free: 7.836 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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: 16.147119070054032]