Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001439/0.001439, allocations: 110 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.00166/0.00166, allocations: 213.1 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.56/1.56, allocations: 230.5 MB / 257.4 MB, free: 7.977 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.2463/0.2463, allocations: 46.92 MB / 360.8 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 79.88 kB / 0.4962 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3853, allocations: 66.09 MB / 0.5607 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003172/0.3885, allocations: 1.668 MB / 0.5624 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3897, allocations: 0.5888 MB / 0.563 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.3897, allocations: 3.938 kB / 0.563 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006418/0.3904, allocations: 463.1 kB / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005658/0.3909, allocations: 291.3 kB / 0.5637 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.3915, allocations: 173.4 kB / 0.5638 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.3918, allocations: 179.6 kB / 0.564 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.3919, allocations: 17.8 kB / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.3921, allocations: 111.7 kB / 0.5641 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/0.3925, allocations: 247.5 kB / 0.5644 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.3925, allocations: 4 kB / 0.5644 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3926, allocations: 43.86 kB / 0.5644 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.3928, allocations: 87.67 kB / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.3929, allocations: 107 kB / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.3933, allocations: 266.6 kB / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3933, allocations: 0 / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3933, allocations: 0 / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.3933, allocations: 0 / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009185/0.3943, allocations: 0.5894 MB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3943, allocations: 12.03 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/0.3943, allocations: 38.73 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.104e-05/0.3944, allocations: 48.59 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.3948, allocations: 250.7 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.3948, allocations: 384 / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.3948, allocations: 4.375 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.395, allocations: 54.23 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.395, allocations: 3.938 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.395, allocations: 4 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.395, allocations: 4 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.3952, allocations: 27.98 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000609/0.3958, allocations: 371.6 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.396, allocations: 50.55 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.3961, allocations: 16.86 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3961, allocations: 4.078 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3961, allocations: 38.5 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.3961, allocations: 0 / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007359/0.3969, allocations: 236.7 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.3969, allocations: 59.34 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/0.3979, allocations: 0.8699 MB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.3979, allocations: 33.7 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.3981, allocations: 220.2 kB / 0.5677 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.3982, allocations: 27.77 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.3982, allocations: 17.72 kB / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.3984, allocations: 366.7 kB / 0.5681 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.791e-05/0.3985, allocations: 23.98 kB / 0.5681 GB, free: 12.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-05/0.3985, allocations: 19.98 kB / 0.5681 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.3987, allocations: 52.83 kB / 0.5682 GB, free: 12.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3987, allocations: 0 / 0.5682 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002513/0.3989, allocations: 129.6 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3989, allocations: 7.938 kB / 0.5683 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.399, allocations: 0 / 0.5683 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.399, allocations: 4 kB / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.399, allocations: 15.98 kB / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.399, allocations: 3.938 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.3991, allocations: 4 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3991, allocations: 0 / 0.5683 GB, free: 12.3 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 (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.000218/0.3993, allocations: 219 kB / 0.5685 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/0.3994, allocations: 51.61 kB / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.3997, allocations: 145.2 kB / 0.5687 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3997, allocations: 7.938 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3997, allocations: 0 / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3997, allocations: 3.984 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.4003, allocations: 441.5 kB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4003, allocations: 0 / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.507e-05/0.4004, allocations: 8 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4004, allocations: 4 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.4004, allocations: 11.98 kB / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4004, allocations: 3.938 kB / 0.5692 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4004, allocations: 0 / 0.5692 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.4007, allocations: 219.5 kB / 0.5694 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.4007, allocations: 35.72 kB / 0.5694 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.4007, allocations: 256 / 0.5694 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.4008, allocations: 23.91 kB / 0.5695 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.4009, allocations: 4 kB / 0.5695 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.4009, allocations: 0 / 0.5695 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006589/0.4015, allocations: 0.6589 MB / 0.5701 GB, free: 10.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4015, allocations: 4 kB / 0.5701 GB, free: 10.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.4018, allocations: 27.89 kB / 0.5701 GB, free: 10.37 MB / 414.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.001968/0.4038, allocations: 1.047 MB / 0.5712 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.404, allocations: 51.95 kB / 0.5712 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.404, allocations: 0 / 0.5712 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.59e-05/0.4041, allocations: 36.05 kB / 0.5712 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.4046, allocations: 37.19 kB / 0.5713 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/0.409, allocations: 3.279 MB / 0.5745 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.4096, allocations: 0.8299 MB / 0.5753 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.333e-05/0.4097, allocations: 12.66 kB / 0.5753 GB, free: 5.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.4098, allocations: 115.4 kB / 0.5754 GB, free: 4.953 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4098, allocations: 0 / 0.5754 GB, free: 4.953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.4477, allocations: 6.288 MB / 0.5816 GB, free: 14.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.19, allocations: 3.938 kB / 0.5816 GB, free: 14.7 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.389271809021011]