Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 210.9 kB / 24.51 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2624/0.2624, allocations: 46.96 MB / 361.7 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.91 kB / 0.4969 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4069, allocations: 66.03 MB / 0.5614 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003372/0.4103, allocations: 1.664 MB / 0.563 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.4114, allocations: 0.5309 MB / 0.5635 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.4115, allocations: 0 / 0.5635 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.4121, allocations: 463.1 kB / 0.564 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005301/0.4127, allocations: 295.3 kB / 0.5642 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.413, allocations: 143.3 kB / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.4133, allocations: 179.6 kB / 0.5646 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.4135, allocations: 18.05 kB / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.4136, allocations: 115.7 kB / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.4139, allocations: 247.5 kB / 0.5649 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.4139, allocations: 4 kB / 0.5649 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.4141, allocations: 55.91 kB / 0.565 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.4142, allocations: 95.56 kB / 0.5651 GB, free: 460 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.282e-05/0.4143, allocations: 75.23 kB / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004126/0.4147, allocations: 290.5 kB / 0.5654 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4147, allocations: 0 / 0.5654 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4147, allocations: 0 / 0.5654 GB, free: 92 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.4147, allocations: 0 / 0.5654 GB, free: 92 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008729/0.4156, allocations: 0.5972 MB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4156, allocations: 12.03 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.954e-05/0.4156, allocations: 4.125 kB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.4157, allocations: 38.73 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.4157, allocations: 48.66 kB / 0.5661 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.416, allocations: 242.8 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4161, allocations: 12.36 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.4161, allocations: 4.125 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.4163, allocations: 65.61 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4163, allocations: 0 / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.4163, allocations: 0 / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.4163, allocations: 3.984 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.4164, allocations: 39.97 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.4169, allocations: 371.8 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.4172, allocations: 58.58 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.937e-05/0.4173, allocations: 24.97 kB / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.4173, allocations: 0 / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.4173, allocations: 34.5 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.4173, allocations: 0 / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001584/0.4189, allocations: 492.6 kB / 0.5674 GB, free: 13.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.419, allocations: 51.41 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009609/0.4199, allocations: 0.8698 MB / 0.5683 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.42, allocations: 29.7 kB / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.4202, allocations: 220 kB / 0.5685 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.4202, allocations: 35.69 kB / 0.5686 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.4203, allocations: 25.7 kB / 0.5686 GB, free: 12.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.4205, allocations: 358.8 kB / 0.5689 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.4206, allocations: 51.95 kB / 0.569 GB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.4208, allocations: 39.97 kB / 0.569 GB, free: 12.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.421, allocations: 100.8 kB / 0.5691 GB, free: 12.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.421, allocations: 3.938 kB / 0.5691 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000379/0.4214, allocations: 181.3 kB / 0.5693 GB, free: 11.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4214, allocations: 4 kB / 0.5693 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4214, allocations: 0 / 0.5693 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4214, allocations: 3.938 kB / 0.5693 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.4216, allocations: 23.98 kB / 0.5693 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4216, allocations: 4 kB / 0.5693 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.375e-05/0.4217, allocations: 11.98 kB / 0.5693 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.4217, allocations: 4 kB / 0.5693 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 (11): * Single equations (assignments): 11 * 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.0002245/0.4219, allocations: 217.8 kB / 0.5695 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.422, allocations: 47.67 kB / 0.5696 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004847/0.4225, allocations: 205.3 kB / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.4225, allocations: 4 kB / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4225, allocations: 0 / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4225, allocations: 0 / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008884/0.4234, allocations: 0.5381 MB / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4234, allocations: 0 / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.4235, allocations: 27.98 kB / 0.5703 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.4235, allocations: 4.188 kB / 0.5703 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.4235, allocations: 7.984 kB / 0.5703 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4235, allocations: 4 kB / 0.5703 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4235, allocations: 0 / 0.5703 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.4239, allocations: 289.3 kB / 0.5706 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.424, allocations: 43.67 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.424, allocations: 4 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.4241, allocations: 11.98 kB / 0.5707 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.4242, allocations: 7.984 kB / 0.5707 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.4242, allocations: 4 kB / 0.5707 GB, free: 10.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007039/0.4249, allocations: 0.6589 MB / 0.5713 GB, free: 9.711 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4249, allocations: 4 kB / 0.5713 GB, free: 9.707 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000284/0.4252, allocations: 31.94 kB / 0.5714 GB, free: 9.676 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002533/0.4277, allocations: 1.211 MB / 0.5726 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003484/0.4281, allocations: 107.8 kB / 0.5727 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.4281, allocations: 4 kB / 0.5727 GB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.4282, allocations: 55.91 kB / 0.5727 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.4287, allocations: 41.06 kB / 0.5728 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004639/0.4333, allocations: 3.451 MB / 0.5761 GB, free: 4.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.4336, allocations: 228.8 kB / 0.5763 GB, free: 4.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.039e-05/0.4337, allocations: 16.47 kB / 0.5764 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.4338, allocations: 115.4 kB / 0.5765 GB, free: 4.531 MB / 414.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4338, allocations: 4 kB / 0.5765 GB, free: 4.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.4629, allocations: 6.829 MB / 0.5831 GB, free: 13.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.3, allocations: 4.062 kB / 0.5831 GB, free: 13.76 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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: 15.574306783964857]