Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001827/0.001827, allocations: 114 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.002416/0.002416, allocations: 214.2 kB / 23.74 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.57/1.57, 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.2632/0.2632, allocations: 46.92 MB / 360.8 MB, free: 4.176 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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002717, allocations: 75.88 kB / 0.4962 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3801, allocations: 66.08 MB / 0.5608 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003492/0.3836, allocations: 1.644 MB / 0.5624 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3848, allocations: 0.546 MB / 0.5629 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.726e-05/0.3849, allocations: 4 kB / 0.5629 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.3852, allocations: 71.72 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.3855, allocations: 99.64 kB / 0.5631 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.3859, allocations: 95.69 kB / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.3861, allocations: 83.75 kB / 0.5632 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3862, allocations: 13.81 kB / 0.5632 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.3863, allocations: 35.91 kB / 0.5633 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.3864, allocations: 55.81 kB / 0.5633 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3864, allocations: 7.938 kB / 0.5633 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3866, allocations: 51.86 kB / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.3866, allocations: 19.92 kB / 0.5634 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.3867, allocations: 31.8 kB / 0.5634 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.3869, allocations: 107.5 kB / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3869, allocations: 0 / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.3869, allocations: 0 / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3869, allocations: 0 / 0.5635 GB, free: 1.414 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.0005617/0.3875, allocations: 333.7 kB / 0.5639 GB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3876, allocations: 16.03 kB / 0.5639 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.3876, allocations: 30.75 kB / 0.5639 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.3876, allocations: 12.84 kB / 0.5639 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.3879, allocations: 143.6 kB / 0.564 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.3879, allocations: 4.375 kB / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.3879, allocations: 4.375 kB / 0.5641 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3881, allocations: 54.23 kB / 0.5641 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3881, allocations: 3.938 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3882, allocations: 3.984 kB / 0.5641 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.3882, allocations: 8 kB / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3883, allocations: 23.97 kB / 0.5641 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.3887, allocations: 267.8 kB / 0.5644 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.3888, allocations: 42.56 kB / 0.5644 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/0.3889, allocations: 12.94 kB / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.3889, allocations: 8 kB / 0.5645 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.3889, allocations: 38.5 kB / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3889, allocations: 0 / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009303/0.3899, allocations: 221.3 kB / 0.5647 GB, free: 72 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.3899, allocations: 55.39 kB / 0.5648 GB, free: 4 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.3902, allocations: 199.3 kB / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.3902, allocations: 29.7 kB / 0.565 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.3903, allocations: 108.1 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.3903, allocations: 27.75 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.3904, allocations: 21.7 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3905, allocations: 330.8 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.3906, allocations: 23.98 kB / 0.5655 GB, free: 15.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/0.3907, allocations: 27.98 kB / 0.5655 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.3909, allocations: 60.83 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3909, allocations: 0 / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002311/0.3911, allocations: 97.55 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3911, allocations: 10.19 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3911, allocations: 8 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3911, allocations: 0 / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3912, allocations: 23.92 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3912, allocations: 0 / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.3913, allocations: 8 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.3913, allocations: 3.938 kB / 0.5657 GB, free: 15 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 (8): * Single equations (assignments): 8 * 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.000127/0.3914, allocations: 121.8 kB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.3915, allocations: 15.91 kB / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003423/0.3918, allocations: 131.3 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3918, allocations: 0 / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3918, allocations: 0 / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3918, allocations: 0 / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.3924, allocations: 374.3 kB / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3924, allocations: 0 / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.3925, allocations: 24.02 kB / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3925, allocations: 3.938 kB / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.3925, allocations: 7.938 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3925, allocations: 0 / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3925, allocations: 4 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.3929, allocations: 204.2 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.3929, allocations: 8.375 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3929, allocations: 7.938 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.181e-05/0.393, allocations: 11.98 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.393, allocations: 0 / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.393, allocations: 4 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.3932, allocations: 152.9 kB / 0.5667 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3932, allocations: 0 / 0.5667 GB, free: 13.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.3935, allocations: 27.92 kB / 0.5667 GB, free: 13.82 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 (8): * Single equations (assignments): 8 * 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.002436/0.3959, allocations: 1.094 MB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.3961, allocations: 63.89 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3961, allocations: 3.938 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.3962, allocations: 35.97 kB / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3966, allocations: 17.66 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.3987, allocations: 1.644 MB / 0.5695 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.3991, allocations: 0.7041 MB / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.348e-05/0.3991, allocations: 12.67 kB / 0.5702 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.3992, allocations: 31.42 kB / 0.5703 GB, free: 10.25 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3992, allocations: 0 / 0.5703 GB, free: 10.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.4305, allocations: 3.229 MB / 0.5734 GB, free: 7.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.6, allocations: 0 / 0.5734 GB, free: 7.051 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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: 14.855834615882486]