Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001528/0.001528, allocations: 112.5 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.002003/0.002003, allocations: 212.3 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.54/1.54, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.2438/0.2438, allocations: 46.93 MB / 360.8 MB, free: 4.16 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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003038/0.003038, allocations: 75.88 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3956, allocations: 66.08 MB / 0.5608 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003411/0.399, allocations: 1.676 MB / 0.5624 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.4002, allocations: 0.5967 MB / 0.563 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.4003, allocations: 0 / 0.563 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000638/0.4009, allocations: 455.1 kB / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005183/0.4014, allocations: 291.3 kB / 0.5637 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.4019, allocations: 181.2 kB / 0.5639 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.4022, allocations: 187.5 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4023, allocations: 13.81 kB / 0.564 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.4025, allocations: 115.7 kB / 0.5642 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.4028, allocations: 255.5 kB / 0.5644 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.4028, allocations: 4 kB / 0.5644 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.4029, allocations: 35.92 kB / 0.5644 GB, free: 496 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.403, allocations: 87.69 kB / 0.5645 GB, free: 408 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.116e-05/0.4031, allocations: 106.9 kB / 0.5646 GB, free: 300 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.4035, allocations: 274.6 kB / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4035, allocations: 0 / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4035, allocations: 0 / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.4035, allocations: 0 / 0.5649 GB, free: 24 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.0008276/0.4043, allocations: 0.6048 MB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.4044, allocations: 8.031 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.4044, allocations: 42.73 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.4045, allocations: 40.66 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.4048, allocations: 250.8 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4048, allocations: 384 / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.4049, allocations: 4.375 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.405, allocations: 62.22 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4051, allocations: 7.938 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4051, allocations: 4 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.4051, allocations: 0 / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.4053, allocations: 43.89 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006386/0.4059, allocations: 375.8 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.406, allocations: 50.55 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.075e-05/0.4061, allocations: 24.94 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.4062, allocations: 0 / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.4062, allocations: 34.5 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4062, allocations: 0 / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009339/0.4071, allocations: 328.6 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.4072, allocations: 51.41 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009323/0.4081, allocations: 0.8699 MB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.4081, allocations: 25.7 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.4083, allocations: 228 kB / 0.5678 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.4084, allocations: 23.8 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.4084, allocations: 25.7 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4086, allocations: 362.7 kB / 0.5682 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.4087, allocations: 35.97 kB / 0.5683 GB, free: 12.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.4088, allocations: 43.95 kB / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.4091, allocations: 84.8 kB / 0.5684 GB, free: 12.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4091, allocations: 0 / 0.5684 GB, free: 12.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003369/0.4094, allocations: 173.2 kB / 0.5686 GB, free: 12.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4094, allocations: 6.344 kB / 0.5686 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4094, allocations: 0 / 0.5686 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.4094, allocations: 0 / 0.5686 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.4095, allocations: 23.98 kB / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4096, allocations: 0 / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.4097, allocations: 11.98 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.4097, allocations: 0 / 0.5686 GB, free: 12.02 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 (7): * Single equations (assignments): 7 * 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.0002054/0.4099, allocations: 217.7 kB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.4099, allocations: 43.72 kB / 0.5688 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/0.4103, allocations: 193.8 kB / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.4103, allocations: 0 / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4104, allocations: 0 / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4104, allocations: 3.984 kB / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.4111, allocations: 497.4 kB / 0.5695 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.4111, allocations: 4 kB / 0.5695 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.098e-05/0.4112, allocations: 23.92 kB / 0.5695 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4112, allocations: 0 / 0.5695 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.4112, allocations: 4 kB / 0.5695 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4112, allocations: 3.938 kB / 0.5695 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4112, allocations: 0 / 0.5695 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.4115, allocations: 255.2 kB / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.4116, allocations: 47.98 kB / 0.5698 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.4116, allocations: 0 / 0.5698 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.4117, allocations: 15.86 kB / 0.5698 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.4118, allocations: 7.984 kB / 0.5699 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.4118, allocations: 0 / 0.5699 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006871/0.4125, allocations: 0.6589 MB / 0.5705 GB, free: 9.984 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4125, allocations: 0 / 0.5705 GB, free: 9.984 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000274/0.4127, allocations: 28 kB / 0.5705 GB, free: 9.957 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 (7): * Single equations (assignments): 7 * 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.002142/0.4149, allocations: 1.098 MB / 0.5716 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003069/0.4152, allocations: 79.94 kB / 0.5717 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4152, allocations: 3.938 kB / 0.5717 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.4153, allocations: 47.95 kB / 0.5717 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.4158, allocations: 32.38 kB / 0.5718 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/0.4201, allocations: 3.382 MB / 0.5751 GB, free: 5.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.4206, allocations: 0.8299 MB / 0.5759 GB, free: 4.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.537e-05/0.4207, allocations: 32.94 kB / 0.5759 GB, free: 4.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.4208, allocations: 115.4 kB / 0.576 GB, free: 4.336 MB / 414.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4208, allocations: 0 / 0.576 GB, free: 4.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.457, allocations: 6.435 MB / 0.5823 GB, free: 13.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.05, allocations: 6.812 kB / 0.5823 GB, free: 13.93 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.240658951923251]