Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001333/0.001333, 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.001399/0.001399, allocations: 212.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.572/1.572, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2425/0.2425, allocations: 46.92 MB / 360.8 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002449/0.002449, allocations: 79.88 kB / 0.4962 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.386, allocations: 66.09 MB / 0.5608 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003484/0.3895, allocations: 1.68 MB / 0.5624 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3908, allocations: 0.6083 MB / 0.563 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.3909, allocations: 0 / 0.563 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006925/0.3916, allocations: 459.1 kB / 0.5634 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.3921, allocations: 287.3 kB / 0.5637 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.3926, allocations: 177.8 kB / 0.5639 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.3929, allocations: 179.6 kB / 0.5641 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.393, allocations: 26.03 kB / 0.5641 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.3931, allocations: 111.7 kB / 0.5642 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.3935, allocations: 255.5 kB / 0.5644 GB, free: 492 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.3935, allocations: 0 / 0.5644 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.3936, allocations: 55.97 kB / 0.5645 GB, free: 436 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3937, allocations: 83.64 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.3938, allocations: 111 kB / 0.5647 GB, free: 240 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.3942, allocations: 298.4 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3942, allocations: 3.938 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3942, allocations: 0 / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.3942, allocations: 0 / 0.565 GB, free: 15.94 MB / 414.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.0008144/0.3951, allocations: 0.5892 MB / 0.5655 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3951, allocations: 12.03 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.3951, allocations: 34.75 kB / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.3952, allocations: 44.66 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.3955, allocations: 254.6 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3956, allocations: 384 / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.3956, allocations: 12.38 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.3958, allocations: 62.22 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3958, allocations: 7.922 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3958, allocations: 4 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3958, allocations: 0 / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.3959, allocations: 31.98 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/0.3965, allocations: 383.7 kB / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.3966, allocations: 42.56 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.3967, allocations: 24.97 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3967, allocations: 0 / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3967, allocations: 30.56 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3967, allocations: 0 / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001029/0.3978, allocations: 332.5 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.3978, allocations: 55.39 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.3989, allocations: 0.8776 MB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3989, allocations: 25.7 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.3992, allocations: 232.1 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.3992, allocations: 31.73 kB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.3993, allocations: 17.72 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002453/0.3995, allocations: 366.8 kB / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.666e-05/0.3996, allocations: 31.97 kB / 0.5683 GB, free: 12.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-05/0.3997, allocations: 27.98 kB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.3999, allocations: 84.75 kB / 0.5684 GB, free: 12.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3999, allocations: 0 / 0.5684 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002904/0.4002, allocations: 145.3 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.4002, allocations: 8 kB / 0.5686 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4002, allocations: 0 / 0.5686 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4002, allocations: 3.938 kB / 0.5686 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.4003, allocations: 15.98 kB / 0.5686 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4003, allocations: 4 kB / 0.5686 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.389e-05/0.4004, allocations: 7.938 kB / 0.5686 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.4004, allocations: 4 kB / 0.5686 GB, free: 11.98 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.0002385/0.4007, allocations: 219 kB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.4007, allocations: 47.66 kB / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/0.4011, allocations: 189.8 kB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4011, allocations: 0 / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4011, allocations: 0 / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.4011, allocations: 11.92 kB / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007834/0.4019, allocations: 0.4905 MB / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4019, allocations: 0 / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.764e-05/0.402, allocations: 19.92 kB / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.402, allocations: 7.938 kB / 0.5696 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.402, allocations: 0 / 0.5696 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.402, allocations: 0 / 0.5696 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.402, allocations: 4.453 kB / 0.5696 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.4024, allocations: 244.1 kB / 0.5698 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.4025, allocations: 47.61 kB / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.4025, allocations: 0 / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.4026, allocations: 7.984 kB / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.4026, allocations: 15.97 kB / 0.5699 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.4026, allocations: 8 kB / 0.5699 GB, free: 10.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007393/0.4034, allocations: 0.6589 MB / 0.5705 GB, free: 9.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4034, allocations: 0 / 0.5705 GB, free: 9.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000282/0.4037, allocations: 31.98 kB / 0.5706 GB, free: 9.895 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.002335/0.406, allocations: 1.133 MB / 0.5717 GB, free: 8.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.4063, allocations: 79.88 kB / 0.5717 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4063, allocations: 0 / 0.5717 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.4064, allocations: 39.92 kB / 0.5718 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.4068, allocations: 26.3 kB / 0.5718 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/0.4114, allocations: 3.396 MB / 0.5751 GB, free: 5.262 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.412, allocations: 0.8299 MB / 0.5759 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.634e-05/0.4121, allocations: 20.41 kB / 0.576 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.4123, allocations: 123.4 kB / 0.5761 GB, free: 4.262 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4123, allocations: 0 / 0.5761 GB, free: 4.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.447, allocations: 6.64 MB / 0.5826 GB, free: 13.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.94, allocations: 8.062 kB / 0.5826 GB, free: 13.64 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.133941287873313]