Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001465/0.001465, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001652/0.001652, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2538/0.2538, allocations: 46.93 MB / 360.8 MB, free: 4.152 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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00248/0.00248, allocations: 75.86 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3757, allocations: 66.09 MB / 0.5608 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003891/0.3796, allocations: 1.699 MB / 0.5624 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3808, allocations: 0.5926 MB / 0.563 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.3808, allocations: 0 / 0.563 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.3811, allocations: 23.78 kB / 0.563 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.3814, allocations: 83.56 kB / 0.5631 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.3818, allocations: 138.9 kB / 0.5632 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.382, allocations: 87.77 kB / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3821, allocations: 25.78 kB / 0.5633 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.182e-05/0.3822, allocations: 39.86 kB / 0.5634 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.3823, allocations: 43.72 kB / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.3823, allocations: 4 kB / 0.5634 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.3825, allocations: 111.9 kB / 0.5635 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.476e-05/0.3826, allocations: 27.91 kB / 0.5636 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.3826, allocations: 31.8 kB / 0.5636 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.3829, allocations: 175.2 kB / 0.5637 GB, free: 1.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3829, allocations: 0 / 0.5637 GB, free: 1.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3829, allocations: 4 kB / 0.5638 GB, free: 1.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.383, allocations: 0 / 0.5638 GB, free: 1.164 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006966/0.3836, allocations: 373.5 kB / 0.5641 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3837, allocations: 12.03 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.88e-05/0.3837, allocations: 34.75 kB / 0.5642 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.3838, allocations: 8.891 kB / 0.5642 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.384, allocations: 150.3 kB / 0.5643 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3841, allocations: 384 / 0.5643 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.3841, allocations: 12.38 kB / 0.5643 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.3844, allocations: 87.92 kB / 0.5644 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.3844, allocations: 7.875 kB / 0.5644 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3844, allocations: 0 / 0.5644 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3844, allocations: 0 / 0.5644 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.3847, allocations: 75.92 kB / 0.5645 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.3853, allocations: 283.8 kB / 0.5648 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.3856, allocations: 66.47 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.3857, allocations: 48.94 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.3858, allocations: 4 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.3858, allocations: 34.5 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.3858, allocations: 0 / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001667/0.3875, allocations: 385 kB / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.3876, allocations: 85.11 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.3878, allocations: 166.1 kB / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.3878, allocations: 25.7 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.3879, allocations: 96.14 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.3879, allocations: 35.69 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.388, allocations: 21.72 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3881, allocations: 326.8 kB / 0.566 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.3884, allocations: 71.92 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.3887, allocations: 97.56 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/0.3892, allocations: 140.7 kB / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3892, allocations: 0 / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006076/0.3898, allocations: 193.8 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3899, allocations: 4 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3899, allocations: 96 / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3899, allocations: 3.938 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.3901, allocations: 43.95 kB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3901, allocations: 0 / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.3903, allocations: 27.97 kB / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.3903, allocations: 7.922 kB / 0.5666 GB, free: 14.07 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 (10): * Single equations (assignments): 10 * 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.0001108/0.3904, allocations: 117.8 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.3904, allocations: 15.91 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006636/0.3911, allocations: 210.2 kB / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3911, allocations: 0 / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3911, allocations: 3.938 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3911, allocations: 0 / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009939/0.3921, allocations: 469.7 kB / 0.5673 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3921, allocations: 4 kB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.3923, allocations: 43.95 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.3923, allocations: 0 / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3923, allocations: 7.938 kB / 0.5674 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3923, allocations: 0 / 0.5674 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3923, allocations: 0 / 0.5674 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006684/0.393, allocations: 291.2 kB / 0.5677 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.393, allocations: 7.953 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.393, allocations: 7.938 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.3932, allocations: 27.95 kB / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.3933, allocations: 16.27 kB / 0.5677 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.3933, allocations: 0 / 0.5677 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.3934, allocations: 123.2 kB / 0.5678 GB, free: 12.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3934, allocations: 7.875 kB / 0.5678 GB, free: 12.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.3938, allocations: 47.86 kB / 0.5679 GB, free: 12.62 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 (9): * Single equations (assignments): 9 * 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.002894/0.3966, allocations: 1.215 MB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.3973, allocations: 163.7 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3973, allocations: 0 / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.3976, allocations: 75.92 kB / 0.5693 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.398, allocations: 35.28 kB / 0.5693 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.4012, allocations: 1.855 MB / 0.5712 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.4017, allocations: 0.7041 MB / 0.5718 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.718e-05/0.4017, allocations: 8.5 kB / 0.5718 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.711e-05/0.4018, allocations: 39.5 kB / 0.5719 GB, free: 8.562 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4018, allocations: 7.938 kB / 0.5719 GB, free: 8.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.4363, allocations: 4.443 MB / 0.5762 GB, free: 4.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.77, allocations: 3.609 kB / 0.5762 GB, free: 4.113 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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: 14.886536727892235]