Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.002043/0.002043, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002745/0.002745, allocations: 215.3 kB / 23.73 MB, free: 4.156 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2282/0.2282, allocations: 44.94 MB / 358.8 MB, free: 6.051 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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.00228/0.00228, allocations: 63.91 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3254, allocations: 65.47 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.004943/0.3303, allocations: 1.619 MB / 0.5586 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.3324, allocations: 0.5417 MB / 0.5591 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.3325, allocations: 3.938 kB / 0.5591 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009641/0.3334, allocations: 455.1 kB / 0.5595 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008315/0.3343, allocations: 295.3 kB / 0.5598 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008117/0.3351, allocations: 178.9 kB / 0.56 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004106/0.3355, allocations: 175.6 kB / 0.5601 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3356, allocations: 7.984 kB / 0.5601 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.3358, allocations: 107.8 kB / 0.5602 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004568/0.3363, allocations: 251.5 kB / 0.5605 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.3363, allocations: 7.938 kB / 0.5605 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.3364, allocations: 27.94 kB / 0.5605 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.3366, allocations: 84.67 kB / 0.5606 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.3367, allocations: 67.25 kB / 0.5607 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005258/0.3372, allocations: 268.5 kB / 0.5609 GB, free: 3.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3372, allocations: 0 / 0.5609 GB, free: 3.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3372, allocations: 0 / 0.5609 GB, free: 3.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.3372, allocations: 4 kB / 0.5609 GB, free: 3.492 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001278/0.3385, allocations: 0.5854 MB / 0.5615 GB, free: 2.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.3386, allocations: 12.03 kB / 0.5615 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.677e-05/0.3386, allocations: 42.67 kB / 0.5616 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.959e-05/0.3387, allocations: 44.66 kB / 0.5616 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.3392, allocations: 246.8 kB / 0.5618 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3392, allocations: 384 / 0.5618 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.3392, allocations: 384 / 0.5618 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.3395, allocations: 61.61 kB / 0.5619 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.3395, allocations: 4 kB / 0.5619 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3395, allocations: 4 kB / 0.5619 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3395, allocations: 0 / 0.5619 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.3398, allocations: 35.97 kB / 0.5619 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009212/0.3407, allocations: 363.8 kB / 0.5623 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.3409, allocations: 46.55 kB / 0.5623 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.3411, allocations: 24.94 kB / 0.5623 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.3411, allocations: 4 kB / 0.5623 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.3411, allocations: 30.56 kB / 0.5624 GB, free: 1.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.3411, allocations: 4 kB / 0.5624 GB, free: 1.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006542/0.3418, allocations: 133.5 kB / 0.5625 GB, free: 1.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.3419, allocations: 51.41 kB / 0.5626 GB, free: 1.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.3434, allocations: 0.8737 MB / 0.5634 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3434, allocations: 25.7 kB / 0.5634 GB, free: 0.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.3438, allocations: 216.1 kB / 0.5636 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3438, allocations: 15.89 kB / 0.5637 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.3438, allocations: 17.72 kB / 0.5637 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002731/0.3441, allocations: 366.7 kB / 0.564 GB, free: 132 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.3442, allocations: 23.92 kB / 0.564 GB, free: 108 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.3444, allocations: 19.97 kB / 0.5641 GB, free: 88 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.3446, allocations: 40.83 kB / 0.5641 GB, free: 44 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3446, allocations: 3.938 kB / 0.5641 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004274/0.345, allocations: 121.5 kB / 0.5642 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3451, allocations: 10.19 kB / 0.5642 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.3451, allocations: 0 / 0.5642 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3451, allocations: 0 / 0.5642 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.3452, allocations: 11.98 kB / 0.5642 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3452, allocations: 0 / 0.5642 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3453, allocations: 4 kB / 0.5643 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.3453, allocations: 3.984 kB / 0.5643 GB, free: 15.88 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 (3): * Single equations (assignments): 3 * 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.0003343/0.3457, allocations: 213.5 kB / 0.5645 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.3458, allocations: 43.72 kB / 0.5645 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.3463, allocations: 129.1 kB / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3463, allocations: 0 / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3463, allocations: 4 kB / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3463, allocations: 0 / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.3468, allocations: 260.6 kB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3468, allocations: 0 / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-05/0.3469, allocations: 11.98 kB / 0.5649 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3469, allocations: 0 / 0.5649 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.3469, allocations: 4 kB / 0.5649 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3469, allocations: 4 kB / 0.5649 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3469, allocations: 4 kB / 0.5649 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.3473, allocations: 215.1 kB / 0.5651 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/0.3474, allocations: 39.7 kB / 0.5651 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.3475, allocations: 0 / 0.5651 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.3477, allocations: 8 kB / 0.5651 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.3477, allocations: 4 kB / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.3477, allocations: 0 / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001198/0.3489, allocations: 0.655 MB / 0.5658 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3489, allocations: 4 kB / 0.5658 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004753/0.3494, allocations: 27.88 kB / 0.5658 GB, free: 14.2 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 (3): * Single equations (assignments): 3 * 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.002978/0.3523, allocations: 1.015 MB / 0.5668 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000337/0.3527, allocations: 43.89 kB / 0.5669 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3527, allocations: 3.938 kB / 0.5669 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3528, allocations: 19.98 kB / 0.5669 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006485/0.3535, allocations: 35.38 kB / 0.5669 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006477/0.3599, allocations: 3.218 MB / 0.5701 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.3603, allocations: 220.1 kB / 0.5703 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.682e-05/0.3604, allocations: 23.78 kB / 0.5703 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.3606, allocations: 107.4 kB / 0.5704 GB, free: 9.547 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3606, allocations: 0 / 0.5704 GB, free: 9.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.3984, allocations: 6.32 MB / 0.5766 GB, free: 3.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.69, allocations: 15.27 kB / 0.5766 GB, free: 3.254 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.729571714065969]