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.001272/0.001272, allocations: 111.5 kB / 21.22 MB, free: 0.6484 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.001328/0.001328, allocations: 209.2 kB / 24.51 MB, free: 3.941 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.397/1.397, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2204/0.2204, allocations: 46.95 MB / 361.6 MB, free: 3.953 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 80.11 kB / 0.4969 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3394, allocations: 66.08 MB / 0.5615 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003405/0.3428, allocations: 1.665 MB / 0.5631 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3439, allocations: 0.5616 MB / 0.5636 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.344, allocations: 0 / 0.5636 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.3446, allocations: 451.1 kB / 0.5641 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.345, allocations: 299.3 kB / 0.5643 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.3455, allocations: 182.1 kB / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.3457, allocations: 179.6 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3458, allocations: 14.19 kB / 0.5647 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.3459, allocations: 123.6 kB / 0.5648 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.3462, allocations: 243.5 kB / 0.5651 GB, free: 364 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.3463, allocations: 7.984 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3464, allocations: 47.98 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.3465, allocations: 91.62 kB / 0.5652 GB, free: 216 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.193e-05/0.3466, allocations: 75.25 kB / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.347, allocations: 298.4 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.347, allocations: 0 / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.347, allocations: 0 / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.347, allocations: 0 / 0.5656 GB, free: 15.84 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.0007807/0.3477, allocations: 0.5931 MB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.3478, allocations: 12.03 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.977e-05/0.3478, allocations: 192 / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.3479, allocations: 38.73 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.3479, allocations: 40.66 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.3482, allocations: 266.7 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3482, allocations: 384 / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3483, allocations: 4.375 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3484, allocations: 65.98 kB / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3484, allocations: 0 / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.3484, allocations: 0 / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3485, allocations: 7.938 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3486, allocations: 35.91 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.3491, allocations: 371.8 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3492, allocations: 50.58 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.3493, allocations: 16.86 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3493, allocations: 0 / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3493, allocations: 34.64 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3493, allocations: 0 / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009698/0.3503, allocations: 332.5 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3503, allocations: 51.41 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009244/0.3512, allocations: 0.8776 MB / 0.5683 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.3513, allocations: 29.64 kB / 0.5683 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.3515, allocations: 232.1 kB / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.3515, allocations: 27.73 kB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.3515, allocations: 25.7 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3517, allocations: 358.8 kB / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3519, allocations: 35.97 kB / 0.5689 GB, free: 12.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.352, allocations: 35.92 kB / 0.569 GB, free: 12.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.3522, allocations: 77.05 kB / 0.569 GB, free: 12.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3522, allocations: 0 / 0.569 GB, free: 12.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00027/0.3524, allocations: 153.3 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3524, allocations: 4 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3524, allocations: 0 / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3525, allocations: 0 / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.3526, allocations: 23.98 kB / 0.5692 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3526, allocations: 7.875 kB / 0.5692 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/0.3526, allocations: 7.984 kB / 0.5692 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.3526, allocations: 0 / 0.5692 GB, free: 11.87 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.0002083/0.3528, allocations: 219.1 kB / 0.5694 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.3529, allocations: 43.72 kB / 0.5695 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/0.3533, allocations: 173.5 kB / 0.5696 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3533, allocations: 4 kB / 0.5696 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.3533, allocations: 11.92 kB / 0.5697 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3533, allocations: 432 / 0.5697 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.3539, allocations: 482.3 kB / 0.5701 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3539, allocations: 3.938 kB / 0.5701 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.354, allocations: 27.86 kB / 0.5702 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.354, allocations: 0 / 0.5702 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.354, allocations: 4 kB / 0.5702 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.354, allocations: 12.02 kB / 0.5702 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.354, allocations: 0 / 0.5702 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.3544, allocations: 248.1 kB / 0.5704 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.3544, allocations: 47.59 kB / 0.5704 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.3544, allocations: 4 kB / 0.5705 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3545, allocations: 7.938 kB / 0.5705 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.3546, allocations: 7.984 kB / 0.5705 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.3546, allocations: 4 kB / 0.5705 GB, free: 10.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006591/0.3552, allocations: 0.6589 MB / 0.5711 GB, free: 9.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3552, allocations: 4 kB / 0.5711 GB, free: 9.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.3555, allocations: 28 kB / 0.5711 GB, free: 9.812 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.002403/0.3579, allocations: 1.171 MB / 0.5723 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.3582, allocations: 79.88 kB / 0.5724 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3582, allocations: 0 / 0.5724 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.638e-05/0.3583, allocations: 39.91 kB / 0.5724 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.3587, allocations: 26.31 kB / 0.5724 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.3626, allocations: 3.396 MB / 0.5757 GB, free: 5.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.3629, allocations: 232.1 kB / 0.576 GB, free: 4.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.171e-05/0.363, allocations: 24.72 kB / 0.576 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3631, allocations: 123.4 kB / 0.5761 GB, free: 4.766 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3631, allocations: 0 / 0.5761 GB, free: 4.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.3899, allocations: 6.714 MB / 0.5827 GB, free: 14.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.59, allocations: 2.656 kB / 0.5827 GB, free: 14.07 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: 14.566576448036358]