Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001877/0.001877, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002282/0.002282, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.605/1.605, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2392/0.2392, allocations: 46.93 MB / 360.8 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 87.86 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3781, allocations: 66.08 MB / 0.5608 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003633/0.3817, allocations: 2.037 MB / 0.5627 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.384, allocations: 1.279 MB / 0.564 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.3841, allocations: 3.938 kB / 0.564 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.3844, allocations: 55.58 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005338/0.3849, allocations: 203.2 kB / 0.5642 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.386, allocations: 442.8 kB / 0.5647 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.3864, allocations: 295.2 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.3866, allocations: 48.83 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.3869, allocations: 139.4 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.3872, allocations: 195.3 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.3872, allocations: 12 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.3874, allocations: 75.91 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.3876, allocations: 143.5 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.3877, allocations: 174.6 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.3883, allocations: 407.9 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3883, allocations: 4 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3883, allocations: 3.938 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.3883, allocations: 0 / 0.5661 GB, free: 14.8 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001155/0.3894, allocations: 0.7446 MB / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3895, allocations: 8.031 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.3895, allocations: 42.75 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002902/0.3898, allocations: 80.48 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000695/0.3905, allocations: 418.4 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3905, allocations: 8.375 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.3906, allocations: 4.375 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.3908, allocations: 139.3 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3908, allocations: 4 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.3909, allocations: 8 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3909, allocations: 0 / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.3911, allocations: 75.89 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.3923, allocations: 0.6557 MB / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.3925, allocations: 101.2 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.3926, allocations: 37.83 kB / 0.5683 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.3927, allocations: 11.98 kB / 0.5684 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.3927, allocations: 30.56 kB / 0.5684 GB, free: 12.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.3927, allocations: 4 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001515/0.3942, allocations: 0.5312 MB / 0.5689 GB, free: 11.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.3943, allocations: 81.09 kB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.3954, allocations: 0.9259 MB / 0.5699 GB, free: 10.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.3954, allocations: 29.7 kB / 0.5699 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.3956, allocations: 264.4 kB / 0.5702 GB, free: 10.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.3957, allocations: 51.52 kB / 0.5702 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.3958, allocations: 33.92 kB / 0.5703 GB, free: 10.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.396, allocations: 378.8 kB / 0.5706 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.3961, allocations: 67.89 kB / 0.5707 GB, free: 9.883 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.3963, allocations: 71.8 kB / 0.5707 GB, free: 9.809 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.3966, allocations: 133.8 kB / 0.5709 GB, free: 9.672 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3966, allocations: 7.938 kB / 0.5709 GB, free: 9.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004516/0.3971, allocations: 237.1 kB / 0.5711 GB, free: 9.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3971, allocations: 6.5 kB / 0.5711 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3971, allocations: 4 kB / 0.5711 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3971, allocations: 0 / 0.5711 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.3973, allocations: 35.97 kB / 0.5712 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3973, allocations: 0 / 0.5712 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.3974, allocations: 15.92 kB / 0.5712 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.3974, allocations: 8 kB / 0.5712 GB, free: 9.359 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.0002349/0.3977, allocations: 219 kB / 0.5714 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.3978, allocations: 63.58 kB / 0.5714 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006009/0.3984, allocations: 270.5 kB / 0.5717 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3985, allocations: 4 kB / 0.5717 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3985, allocations: 4 kB / 0.5717 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3985, allocations: 0 / 0.5717 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.3996, allocations: 0.7542 MB / 0.5724 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3996, allocations: 0 / 0.5724 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.3998, allocations: 43.91 kB / 0.5725 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3998, allocations: 4 kB / 0.5725 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3998, allocations: 4 kB / 0.5725 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3998, allocations: 4 kB / 0.5725 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3998, allocations: 7.938 kB / 0.5725 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.4003, allocations: 398.3 kB / 0.5729 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.4005, allocations: 79.59 kB / 0.573 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.4005, allocations: 8 kB / 0.573 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.4007, allocations: 19.86 kB / 0.573 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.4008, allocations: 19.91 kB / 0.573 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.4008, allocations: 4 kB / 0.573 GB, free: 7.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007841/0.4016, allocations: 0.6747 MB / 0.5737 GB, free: 6.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4016, allocations: 0 / 0.5737 GB, free: 6.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003657/0.4019, allocations: 52 kB / 0.5737 GB, free: 6.664 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.002296/0.4042, allocations: 1.221 MB / 0.5749 GB, free: 5.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004115/0.4047, allocations: 142.8 kB / 0.575 GB, free: 5.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.4047, allocations: 4 kB / 0.5751 GB, free: 5.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.4048, allocations: 71.89 kB / 0.5751 GB, free: 5.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.4054, allocations: 85.52 kB / 0.5752 GB, free: 5.258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0069/0.4123, allocations: 5.06 MB / 0.5801 GB, free: 112 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.4129, allocations: 0.8723 MB / 0.581 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.4131, allocations: 79.22 kB / 0.5811 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.4134, allocations: 171.4 kB / 0.5812 GB, free: 14.97 MB / 430.1 MB Notification: Performance of SimCode: time 1.462e-06/0.4134, allocations: 0 / 0.5812 GB, free: 14.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/0.4566, allocations: 10.13 MB / 0.5911 GB, free: 4.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.27, allocations: 8 kB / 0.5911 GB, free: 4.859 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.62642066879198]