Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001478/0.001478, allocations: 115.6 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.002246/0.002246, allocations: 213.4 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2234/0.2234, allocations: 44.91 MB / 358.8 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 71.91 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3325, allocations: 65.47 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.004085/0.3366, allocations: 1.69 MB / 0.5587 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3377, allocations: 0.5777 MB / 0.5593 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.54e-05/0.3378, allocations: 3.938 kB / 0.5593 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006536/0.3384, allocations: 447.2 kB / 0.5597 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.3389, allocations: 303.2 kB / 0.56 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.3393, allocations: 123.6 kB / 0.5601 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.3396, allocations: 175.6 kB / 0.5603 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3397, allocations: 17.81 kB / 0.5603 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.3398, allocations: 115.7 kB / 0.5604 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.3401, allocations: 247.5 kB / 0.5606 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.3402, allocations: 4 kB / 0.5606 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.3403, allocations: 55.92 kB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.3404, allocations: 91.61 kB / 0.5608 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.837e-05/0.3405, allocations: 99 kB / 0.5609 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003677/0.3409, allocations: 286.5 kB / 0.5611 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3409, allocations: 0 / 0.5611 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.3409, allocations: 4 kB / 0.5611 GB, free: 3.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3409, allocations: 4 kB / 0.5612 GB, free: 3.531 MB / 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.000781/0.3416, allocations: 0.5931 MB / 0.5617 GB, free: 2.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3417, allocations: 8.031 kB / 0.5617 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.3417, allocations: 34.75 kB / 0.5618 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.3418, allocations: 44.59 kB / 0.5618 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.3421, allocations: 254.8 kB / 0.5621 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3421, allocations: 4.375 kB / 0.5621 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.3421, allocations: 384 / 0.5621 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3423, allocations: 61.62 kB / 0.5621 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3423, allocations: 0 / 0.5621 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3423, allocations: 4 kB / 0.5621 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3423, allocations: 4 kB / 0.5621 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.3424, allocations: 31.91 kB / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.3429, allocations: 367.8 kB / 0.5625 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.343, allocations: 46.59 kB / 0.5626 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.3431, allocations: 20.94 kB / 0.5626 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.3431, allocations: 0 / 0.5626 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3431, allocations: 34.56 kB / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3431, allocations: 0 / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009699/0.3441, allocations: 316.9 kB / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.3441, allocations: 59.28 kB / 0.563 GB, free: 1.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009212/0.3451, allocations: 0.8699 MB / 0.5638 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.3451, allocations: 29.7 kB / 0.5638 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.3453, allocations: 232 kB / 0.5641 GB, free: 380 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.3453, allocations: 27.73 kB / 0.5641 GB, free: 352 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.3453, allocations: 25.72 kB / 0.5641 GB, free: 320 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3455, allocations: 362.8 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/0.3456, allocations: 27.92 kB / 0.5645 GB, free: 15.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.852e-05/0.3457, allocations: 19.98 kB / 0.5645 GB, free: 15.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.3458, allocations: 60.83 kB / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3458, allocations: 4 kB / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002558/0.3461, allocations: 141.6 kB / 0.5647 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3461, allocations: 4 kB / 0.5647 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3461, allocations: 0 / 0.5647 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3461, allocations: 3.984 kB / 0.5647 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3462, allocations: 23.88 kB / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3462, allocations: 0 / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.659e-05/0.3463, allocations: 11.98 kB / 0.5647 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3463, allocations: 7.984 kB / 0.5648 GB, free: 15.64 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.0002055/0.3465, allocations: 217.8 kB / 0.565 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.3466, allocations: 47.67 kB / 0.565 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.3469, allocations: 149.6 kB / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3469, allocations: 7.938 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3469, allocations: 4 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3469, allocations: 0 / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.3476, allocations: 494.2 kB / 0.5656 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3476, allocations: 0 / 0.5656 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/0.3477, allocations: 19.98 kB / 0.5656 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3477, allocations: 0 / 0.5656 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3477, allocations: 0 / 0.5656 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.3477, allocations: 4 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3477, allocations: 0 / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.348, allocations: 248 kB / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.3481, allocations: 35.72 kB / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.3481, allocations: 0 / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.3482, allocations: 11.98 kB / 0.5659 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.3482, allocations: 7.984 kB / 0.5659 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3483, allocations: 4 kB / 0.5659 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006886/0.3489, allocations: 0.6628 MB / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3489, allocations: 0 / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.3492, allocations: 35.92 kB / 0.5666 GB, free: 13.62 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.002279/0.3515, allocations: 1.14 MB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.3517, allocations: 63.95 kB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3517, allocations: 4 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.799e-05/0.3518, allocations: 31.92 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.3522, allocations: 28.17 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.3562, allocations: 3.329 MB / 0.5711 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.3567, allocations: 0.8342 MB / 0.5719 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.592e-05/0.3568, allocations: 12.73 kB / 0.5719 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.3569, allocations: 111.4 kB / 0.572 GB, free: 8.109 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3569, allocations: 0 / 0.572 GB, free: 8.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03332/0.3902, allocations: 6.565 MB / 0.5785 GB, free: 1.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.1, allocations: 12 kB / 0.5785 GB, free: 1.605 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.12734576803632]