Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001303/0.001303, allocations: 113.2 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.00214/0.00214, allocations: 213.1 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.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2991/0.2991, allocations: 44.91 MB / 358.8 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 179] 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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",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.002113/0.002113, allocations: 67.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3704, allocations: 65.47 MB / 0.557 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.004041/0.3745, allocations: 2.04 MB / 0.559 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.377, allocations: 1.275 MB / 0.5603 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.3772, allocations: 4 kB / 0.5603 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.3774, allocations: 43.53 kB / 0.5603 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005636/0.378, allocations: 219.1 kB / 0.5605 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.3791, allocations: 426 kB / 0.5609 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004514/0.3795, allocations: 307 kB / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.3797, allocations: 44.91 kB / 0.5613 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002871/0.38, allocations: 139.4 kB / 0.5614 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.3803, allocations: 199.2 kB / 0.5616 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.3803, allocations: 16 kB / 0.5616 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.3805, allocations: 63.98 kB / 0.5617 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.3807, allocations: 147.5 kB / 0.5618 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.3809, allocations: 182.6 kB / 0.562 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.3815, allocations: 399.9 kB / 0.5624 GB, free: 2.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3815, allocations: 0 / 0.5624 GB, free: 2.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3815, allocations: 0 / 0.5624 GB, free: 2.312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.3815, allocations: 0 / 0.5624 GB, free: 2.312 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.001207/0.3827, allocations: 0.7407 MB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.3827, allocations: 12.03 kB / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.46e-05/0.3828, allocations: 42.73 kB / 0.5631 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.3831, allocations: 88.44 kB / 0.5632 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007523/0.3839, allocations: 410.4 kB / 0.5636 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3839, allocations: 12.31 kB / 0.5636 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.3839, allocations: 19.88 kB / 0.5637 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.3842, allocations: 127 kB / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3842, allocations: 0 / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.3842, allocations: 8 kB / 0.5638 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3843, allocations: 4 kB / 0.5638 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.3845, allocations: 87.88 kB / 0.5639 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009906/0.3854, allocations: 0.6556 MB / 0.5645 GB, free: 0 / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.3857, allocations: 101.2 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3858, allocations: 45.75 kB / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.3858, allocations: 7.938 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.3858, allocations: 30.56 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.3858, allocations: 0 / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001473/0.3873, allocations: 0.5345 MB / 0.5652 GB, free: 15.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.3874, allocations: 81.11 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3885, allocations: 0.9181 MB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3885, allocations: 29.92 kB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.3887, allocations: 272.3 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.3888, allocations: 55.47 kB / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-05/0.3889, allocations: 33.7 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.3891, allocations: 378.7 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.3892, allocations: 47.97 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.3894, allocations: 80.48 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.3897, allocations: 141.7 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3897, allocations: 0 / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004705/0.3902, allocations: 229.1 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3902, allocations: 4 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3902, allocations: 4 kB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3902, allocations: 4 kB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.3904, allocations: 39.95 kB / 0.5674 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3904, allocations: 0 / 0.5674 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3906, allocations: 15.94 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.3906, allocations: 7.984 kB / 0.5675 GB, free: 12.86 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.0002375/0.3908, allocations: 213.7 kB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.391, allocations: 64.33 kB / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006109/0.3916, allocations: 270.6 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.3916, allocations: 0 / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3916, allocations: 0 / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3916, allocations: 7.984 kB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.3928, allocations: 0.7582 MB / 0.5687 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3928, allocations: 3.938 kB / 0.5687 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.393, allocations: 35.97 kB / 0.5688 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.393, allocations: 0 / 0.5688 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.393, allocations: 7.938 kB / 0.5688 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.393, allocations: 3.938 kB / 0.5688 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.393, allocations: 7.984 kB / 0.5688 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.3936, allocations: 402.3 kB / 0.5692 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.3937, allocations: 79.58 kB / 0.5693 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.3938, allocations: 4 kB / 0.5693 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.394, allocations: 19.92 kB / 0.5693 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.394, allocations: 11.98 kB / 0.5693 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3941, allocations: 7.984 kB / 0.5693 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009006/0.395, allocations: 0.6708 MB / 0.57 GB, free: 10.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.395, allocations: 0 / 0.57 GB, free: 10.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003886/0.3954, allocations: 55.98 kB / 0.57 GB, free: 10.17 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.002547/0.3979, allocations: 1.24 MB / 0.5712 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004833/0.3984, allocations: 147.8 kB / 0.5714 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3984, allocations: 0 / 0.5714 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.3986, allocations: 71.89 kB / 0.5714 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006461/0.3992, allocations: 82.97 kB / 0.5715 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007264/0.4065, allocations: 5.064 MB / 0.5764 GB, free: 3.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.407, allocations: 0.8575 MB / 0.5773 GB, free: 2.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002022/0.4072, allocations: 79.23 kB / 0.5774 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.4075, allocations: 175.4 kB / 0.5775 GB, free: 2.484 MB / 414.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4075, allocations: 0 / 0.5775 GB, free: 2.484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04267/0.4502, allocations: 10.15 MB / 0.5874 GB, free: 8.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.35, allocations: 3.859 kB / 0.5874 GB, free: 8.402 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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: 15.650414413074031]