Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001522/0.001522, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001551/0.001551, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2842/0.2842, allocations: 44.91 MB / 359.6 MB, free: 6.277 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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",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.002017/0.002017, allocations: 59.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3838, allocations: 65.48 MB / 0.5578 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003658/0.3875, allocations: 1.698 MB / 0.5595 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3887, allocations: 0.6088 MB / 0.5601 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.3888, allocations: 0 / 0.5601 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006357/0.3894, allocations: 451.1 kB / 0.5605 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004919/0.3899, allocations: 295.3 kB / 0.5608 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.3904, allocations: 178.9 kB / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.3906, allocations: 183.6 kB / 0.5611 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3907, allocations: 22.17 kB / 0.5611 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.3909, allocations: 123.7 kB / 0.5613 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.3912, allocations: 251.5 kB / 0.5615 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.3913, allocations: 4 kB / 0.5615 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.3914, allocations: 55.92 kB / 0.5616 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.3915, allocations: 87.69 kB / 0.5616 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.3916, allocations: 114.9 kB / 0.5618 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.3921, allocations: 290.5 kB / 0.562 GB, free: 3.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.3921, allocations: 0 / 0.562 GB, free: 3.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3921, allocations: 7.938 kB / 0.562 GB, free: 3.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.3921, allocations: 0 / 0.562 GB, free: 3.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001064/0.3932, allocations: 0.597 MB / 0.5626 GB, free: 2.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/0.3932, allocations: 12.03 kB / 0.5626 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.262e-05/0.3932, allocations: 192 / 0.5626 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.104e-05/0.3933, allocations: 38.75 kB / 0.5627 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.036e-05/0.3934, allocations: 40.66 kB / 0.5627 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.3938, allocations: 254.7 kB / 0.563 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3938, allocations: 8.375 kB / 0.563 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.3938, allocations: 12.08 kB / 0.563 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.3941, allocations: 65.66 kB / 0.563 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3941, allocations: 0 / 0.563 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3941, allocations: 4 kB / 0.563 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3941, allocations: 0 / 0.563 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3942, allocations: 47.89 kB / 0.5631 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/0.3949, allocations: 387.7 kB / 0.5635 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.3952, allocations: 54.64 kB / 0.5635 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/0.3952, allocations: 32.89 kB / 0.5635 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3953, allocations: 8 kB / 0.5635 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3953, allocations: 34.56 kB / 0.5636 GB, free: 1.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3953, allocations: 0 / 0.5636 GB, free: 1.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001693/0.397, allocations: 0.5042 MB / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.397, allocations: 55.41 kB / 0.5641 GB, free: 1.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009415/0.398, allocations: 0.8776 MB / 0.565 GB, free: 236 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.398, allocations: 29.7 kB / 0.565 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.3982, allocations: 212.2 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.3983, allocations: 39.69 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.3983, allocations: 29.7 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3985, allocations: 354.8 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.3986, allocations: 55.95 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.3988, allocations: 63.89 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.3991, allocations: 124.7 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3991, allocations: 3.938 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004013/0.3995, allocations: 197.3 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3995, allocations: 11.98 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3995, allocations: 0 / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3996, allocations: 3.938 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3997, allocations: 27.92 kB / 0.5661 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3997, allocations: 4 kB / 0.5661 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.334e-05/0.3998, allocations: 7.984 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.3998, allocations: 8 kB / 0.5661 GB, free: 15.04 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.0002238/0.4, allocations: 221.7 kB / 0.5663 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.4001, allocations: 47.67 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005319/0.4006, allocations: 233.4 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4006, allocations: 0 / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4006, allocations: 3.984 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4006, allocations: 3.938 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009581/0.4016, allocations: 0.5775 MB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4016, allocations: 0 / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.4017, allocations: 31.92 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4017, allocations: 4 kB / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4017, allocations: 0 / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4017, allocations: 0 / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4017, allocations: 4 kB / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.4022, allocations: 313.3 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.4023, allocations: 43.7 kB / 0.5675 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.4023, allocations: 0 / 0.5675 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.4024, allocations: 15.98 kB / 0.5675 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.4025, allocations: 11.98 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.4025, allocations: 4 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000716/0.4032, allocations: 0.6589 MB / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4032, allocations: 0 / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.4035, allocations: 31.94 kB / 0.5682 GB, free: 12.76 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.00242/0.4059, allocations: 1.208 MB / 0.5694 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.4063, allocations: 123.8 kB / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4063, allocations: 0 / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.4065, allocations: 67.95 kB / 0.5696 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.407, allocations: 34.45 kB / 0.5696 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/0.4116, allocations: 3.557 MB / 0.5731 GB, free: 7.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.4122, allocations: 0.8338 MB / 0.5739 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.4123, allocations: 36.45 kB / 0.574 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.4125, allocations: 127.4 kB / 0.5741 GB, free: 6.812 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4125, allocations: 0 / 0.5741 GB, free: 6.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02798/0.4405, allocations: 6.919 MB / 0.5808 GB, free: 15.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.29, allocations: 14.22 kB / 0.5808 GB, free: 15.96 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.587328342022374]