Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001705/0.001705, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001516/0.001516, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.538/1.538, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2258/0.2258, allocations: 44.91 MB / 359.6 MB, free: 6.297 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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",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.002207/0.002207, allocations: 61.94 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3801, allocations: 65.48 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.00401/0.3841, allocations: 1.603 MB / 0.5594 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3854, allocations: 0.5464 MB / 0.5599 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.3854, allocations: 0 / 0.5599 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.3857, allocations: 35.84 kB / 0.5599 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.3861, allocations: 75.62 kB / 0.56 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.3864, allocations: 83.77 kB / 0.5601 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.3866, allocations: 67.77 kB / 0.5602 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3867, allocations: 9.828 kB / 0.5602 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.3868, allocations: 31.84 kB / 0.5602 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.683e-05/0.3869, allocations: 19.86 kB / 0.5602 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.3869, allocations: 4 kB / 0.5602 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-05/0.387, allocations: 39.98 kB / 0.5603 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.387, allocations: 11.94 kB / 0.5603 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.3871, allocations: 23.8 kB / 0.5603 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3873, allocations: 83.66 kB / 0.5604 GB, free: 5.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3873, allocations: 0 / 0.5604 GB, free: 5.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3873, allocations: 0 / 0.5604 GB, free: 5.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.3873, allocations: 0 / 0.5604 GB, free: 5.141 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005865/0.3879, allocations: 321.7 kB / 0.5607 GB, free: 4.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.3879, allocations: 12.03 kB / 0.5607 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.118e-05/0.388, allocations: 4.188 kB / 0.5607 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.388, allocations: 34.69 kB / 0.5607 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.3881, allocations: 12.89 kB / 0.5607 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.3883, allocations: 140.6 kB / 0.5609 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3883, allocations: 384 / 0.5609 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.3883, allocations: 8.125 kB / 0.5609 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3885, allocations: 45.69 kB / 0.5609 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3885, allocations: 0 / 0.5609 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3885, allocations: 0 / 0.5609 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3885, allocations: 0 / 0.5609 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.65e-05/0.3886, allocations: 31.92 kB / 0.561 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.389, allocations: 243.9 kB / 0.5612 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.3893, allocations: 46.55 kB / 0.5612 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.3893, allocations: 20.88 kB / 0.5613 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.3894, allocations: 0 / 0.5613 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3894, allocations: 38.56 kB / 0.5613 GB, free: 4.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.3894, allocations: 0 / 0.5613 GB, free: 4.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006441/0.39, allocations: 145.3 kB / 0.5614 GB, free: 3.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.3901, allocations: 51.41 kB / 0.5615 GB, free: 3.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.3903, allocations: 167.6 kB / 0.5616 GB, free: 3.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3903, allocations: 29.7 kB / 0.5617 GB, free: 3.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.3904, allocations: 92.14 kB / 0.5618 GB, free: 3.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3904, allocations: 27.78 kB / 0.5618 GB, free: 3.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.3904, allocations: 17.72 kB / 0.5618 GB, free: 3.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3906, allocations: 322.8 kB / 0.5621 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/0.3907, allocations: 15.92 kB / 0.5621 GB, free: 3.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.3907, allocations: 19.98 kB / 0.5621 GB, free: 3.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3909, allocations: 52.83 kB / 0.5622 GB, free: 3.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3909, allocations: 0 / 0.5622 GB, free: 3.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001838/0.391, allocations: 81.56 kB / 0.5623 GB, free: 3.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3911, allocations: 4 kB / 0.5623 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3911, allocations: 0 / 0.5623 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3911, allocations: 0 / 0.5623 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.3912, allocations: 16.23 kB / 0.5623 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3912, allocations: 3.938 kB / 0.5623 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.3912, allocations: 12 kB / 0.5623 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3912, allocations: 0 / 0.5623 GB, free: 2.973 MB / 398.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 (5): * Single equations (assignments): 5 * 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.0001298/0.3913, allocations: 117.8 kB / 0.5624 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.3914, allocations: 11.95 kB / 0.5624 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.3916, allocations: 93.98 kB / 0.5625 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3916, allocations: 4 kB / 0.5625 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.3917, allocations: 7.938 kB / 0.5625 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3917, allocations: 0 / 0.5625 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.3921, allocations: 321.6 kB / 0.5628 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3921, allocations: 0 / 0.5628 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.3922, allocations: 12 kB / 0.5628 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3922, allocations: 11.86 kB / 0.5629 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3922, allocations: 0 / 0.5629 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3922, allocations: 0 / 0.5629 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3922, allocations: 0 / 0.5629 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.3924, allocations: 175.5 kB / 0.563 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.3925, allocations: 11.89 kB / 0.563 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.3925, allocations: 3.984 kB / 0.563 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.3926, allocations: 8 kB / 0.5631 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.3926, allocations: 0 / 0.5631 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.3926, allocations: 7.984 kB / 0.5631 GB, free: 2.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.3927, allocations: 129.5 kB / 0.5632 GB, free: 1.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3927, allocations: 0 / 0.5632 GB, free: 1.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.393, allocations: 19.95 kB / 0.5632 GB, free: 1.965 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00202/0.395, allocations: 1.023 MB / 0.5642 GB, free: 1.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.3952, allocations: 47.95 kB / 0.5642 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3952, allocations: 0 / 0.5642 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.715e-05/0.3953, allocations: 23.92 kB / 0.5643 GB, free: 1.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.3957, allocations: 17.61 kB / 0.5643 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.3976, allocations: 1.469 MB / 0.5657 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3979, allocations: 0.6924 MB / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.628e-05/0.398, allocations: 15.77 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.398, allocations: 27.44 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.398, allocations: 3.938 kB / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.4195, allocations: 2.788 MB / 0.5692 GB, free: 11.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.77, allocations: 8 kB / 0.5692 GB, free: 11.95 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.021601843007375]