Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001355/0.001355, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001574/0.001574, allocations: 213.5 kB / 23.74 MB, free: 4.656 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2454/0.2454, allocations: 46.94 MB / 360.9 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 71.88 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3338, allocations: 66.04 MB / 0.5607 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003883/0.3377, allocations: 2.065 MB / 0.5627 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.34, allocations: 1.139 MB / 0.5638 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.3402, allocations: 7.938 kB / 0.5638 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.3407, allocations: 267.1 kB / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006019/0.3413, allocations: 267 kB / 0.5643 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.3429, allocations: 0.6531 MB / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006515/0.3436, allocations: 366.8 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.3438, allocations: 54.72 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.344, allocations: 155.4 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.3444, allocations: 239.1 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.3444, allocations: 8 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.3446, allocations: 67.98 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.3448, allocations: 107.6 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.3449, allocations: 138.8 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.3455, allocations: 358.2 kB / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3455, allocations: 0 / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3455, allocations: 0 / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.3455, allocations: 0 / 0.5664 GB, free: 14.58 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009202/0.3464, allocations: 0.6359 MB / 0.567 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3464, allocations: 8.031 kB / 0.567 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.3465, allocations: 42.73 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.3466, allocations: 48.66 kB / 0.5671 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.347, allocations: 288.6 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3471, allocations: 8.375 kB / 0.5674 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.3471, allocations: 8.375 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.3474, allocations: 129.5 kB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.3474, allocations: 3.953 kB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.3474, allocations: 4 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.3474, allocations: 7.984 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.3476, allocations: 99.86 kB / 0.5676 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007651/0.3484, allocations: 495.4 kB / 0.5681 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.3486, allocations: 110.5 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.3487, allocations: 32.84 kB / 0.5682 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3487, allocations: 4 kB / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.3487, allocations: 42.48 kB / 0.5683 GB, free: 12.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.3487, allocations: 4 kB / 0.5683 GB, free: 12.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001083/0.3498, allocations: 456.5 kB / 0.5687 GB, free: 12.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.3499, allocations: 55.41 kB / 0.5688 GB, free: 11.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008185/0.3507, allocations: 0.5995 MB / 0.5693 GB, free: 11.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3507, allocations: 33.64 kB / 0.5694 GB, free: 11.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.3509, allocations: 212.4 kB / 0.5696 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.643e-05/0.351, allocations: 67.42 kB / 0.5696 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.3511, allocations: 41.66 kB / 0.5697 GB, free: 11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.3513, allocations: 358.8 kB / 0.57 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.3515, allocations: 63.95 kB / 0.5701 GB, free: 10.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.3516, allocations: 67.95 kB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.3519, allocations: 159.4 kB / 0.5703 GB, free: 10.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3519, allocations: 4 kB / 0.5703 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004378/0.3523, allocations: 229.2 kB / 0.5705 GB, free: 10.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3524, allocations: 4 kB / 0.5705 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3524, allocations: 3.938 kB / 0.5705 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.3524, allocations: 4 kB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.3526, allocations: 35.92 kB / 0.5706 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.3526, allocations: 7.984 kB / 0.5706 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.669e-05/0.3527, allocations: 4 kB / 0.5706 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.3527, allocations: 8 kB / 0.5706 GB, free: 10.06 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 (17): * Single equations (assignments): 17 * 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.0002075/0.3529, allocations: 181.7 kB / 0.5708 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.072e-05/0.353, allocations: 47.67 kB / 0.5708 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005969/0.3536, allocations: 288 kB / 0.5711 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3536, allocations: 0 / 0.5711 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3536, allocations: 4 kB / 0.5711 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3536, allocations: 4 kB / 0.5711 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.3546, allocations: 0.6613 MB / 0.5717 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3547, allocations: 0 / 0.5717 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.3548, allocations: 39.91 kB / 0.5718 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3548, allocations: 0 / 0.5718 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3548, allocations: 4 kB / 0.5718 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3548, allocations: 7.938 kB / 0.5718 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3548, allocations: 0 / 0.5718 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.3553, allocations: 334.1 kB / 0.5721 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.3554, allocations: 51.69 kB / 0.5722 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.3554, allocations: 0 / 0.5722 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3555, allocations: 11.94 kB / 0.5722 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.3555, allocations: 11.97 kB / 0.5722 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3556, allocations: 4 kB / 0.5722 GB, free: 8.344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000512/0.3561, allocations: 454.8 kB / 0.5726 GB, free: 7.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3561, allocations: 4 kB / 0.5726 GB, free: 7.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003166/0.3564, allocations: 47.94 kB / 0.5727 GB, free: 7.852 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 (17): * Single equations (assignments): 17 * 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.003761/0.3601, allocations: 1.48 MB / 0.5741 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.3606, allocations: 155.8 kB / 0.5743 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3606, allocations: 4 kB / 0.5743 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.3607, allocations: 98.31 kB / 0.5744 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.3613, allocations: 78.67 kB / 0.5744 GB, free: 6.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/0.366, allocations: 3.339 MB / 0.5777 GB, free: 2.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.3666, allocations: 0.8221 MB / 0.5785 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.3668, allocations: 62.23 kB / 0.5786 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.367, allocations: 139.4 kB / 0.5787 GB, free: 1.887 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.367, allocations: 0 / 0.5787 GB, free: 1.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/0.4036, allocations: 8.121 MB / 0.5866 GB, free: 9.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12, allocations: 8 kB / 0.5866 GB, free: 9.805 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.114732031011954]