Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001449/0.001449, 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.0018/0.0018, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2329/0.2329, allocations: 44.93 MB / 358.8 MB, free: 6.133 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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",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.002108/0.002108, allocations: 71.89 kB / 0.4931 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3356, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003084/0.3387, allocations: 1.617 MB / 0.5586 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3398, allocations: 0.5232 MB / 0.5591 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.3398, allocations: 0 / 0.5591 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.3401, allocations: 75.7 kB / 0.5591 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.3404, allocations: 103.6 kB / 0.5592 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.3406, allocations: 87.77 kB / 0.5593 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.3408, allocations: 83.75 kB / 0.5594 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/0.3409, allocations: 13.83 kB / 0.5594 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.578e-05/0.341, allocations: 39.83 kB / 0.5595 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.793e-05/0.3411, allocations: 55.75 kB / 0.5595 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.3411, allocations: 4 kB / 0.5595 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.3412, allocations: 47.98 kB / 0.5596 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.3412, allocations: 15.92 kB / 0.5596 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.3413, allocations: 27.8 kB / 0.5596 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.3415, allocations: 99.53 kB / 0.5597 GB, free: 4.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3415, allocations: 0 / 0.5597 GB, free: 4.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3415, allocations: 0 / 0.5597 GB, free: 4.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3415, allocations: 0 / 0.5597 GB, free: 4.742 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004929/0.342, allocations: 349.6 kB / 0.56 GB, free: 4.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.342, allocations: 8.031 kB / 0.56 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.342, allocations: 30.75 kB / 0.5601 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.3421, allocations: 16.78 kB / 0.5601 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.3423, allocations: 138.4 kB / 0.5602 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3423, allocations: 8.375 kB / 0.5602 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.3423, allocations: 384 / 0.5602 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3424, allocations: 57.62 kB / 0.5603 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3424, allocations: 0 / 0.5603 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.3424, allocations: 0 / 0.5603 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3424, allocations: 4 kB / 0.5603 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.3425, allocations: 31.91 kB / 0.5603 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.3429, allocations: 259.9 kB / 0.5606 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.343, allocations: 42.55 kB / 0.5606 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.469e-05/0.3431, allocations: 24.88 kB / 0.5606 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3431, allocations: 0 / 0.5606 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.3432, allocations: 34.56 kB / 0.5607 GB, free: 3.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3432, allocations: 0 / 0.5607 GB, free: 3.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008739/0.344, allocations: 221.2 kB / 0.5609 GB, free: 3.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3441, allocations: 51.41 kB / 0.5609 GB, free: 3.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.3443, allocations: 203.2 kB / 0.5611 GB, free: 3.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3443, allocations: 25.7 kB / 0.5611 GB, free: 3.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.3444, allocations: 108.1 kB / 0.5612 GB, free: 2.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.3444, allocations: 31.73 kB / 0.5613 GB, free: 2.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.3445, allocations: 25.66 kB / 0.5613 GB, free: 2.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3446, allocations: 330.8 kB / 0.5616 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.3447, allocations: 24.06 kB / 0.5616 GB, free: 2.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.3448, allocations: 23.97 kB / 0.5617 GB, free: 2.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.3449, allocations: 64.77 kB / 0.5617 GB, free: 2.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3449, allocations: 0 / 0.5617 GB, free: 2.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002177/0.3452, allocations: 101.6 kB / 0.5618 GB, free: 2.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3452, allocations: 8 kB / 0.5618 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3452, allocations: 0 / 0.5618 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3452, allocations: 0 / 0.5618 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3453, allocations: 23.92 kB / 0.5618 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3453, allocations: 3.938 kB / 0.5619 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.3454, allocations: 4 kB / 0.5619 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.3454, allocations: 8 kB / 0.5619 GB, free: 2.324 MB / 398.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.0001222/0.3455, allocations: 129.8 kB / 0.562 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.3455, allocations: 11.91 kB / 0.562 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.3458, allocations: 123.3 kB / 0.5621 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.3458, allocations: 0 / 0.5621 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3458, allocations: 3.938 kB / 0.5621 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3459, allocations: 4 kB / 0.5621 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005479/0.3464, allocations: 354.4 kB / 0.5625 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3464, allocations: 0 / 0.5625 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.752e-05/0.3465, allocations: 27.86 kB / 0.5625 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3465, allocations: 4.031 kB / 0.5625 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3465, allocations: 8 kB / 0.5625 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3465, allocations: 3.984 kB / 0.5625 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3465, allocations: 0 / 0.5625 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.3468, allocations: 200.3 kB / 0.5627 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.3468, allocations: 15.88 kB / 0.5627 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.3468, allocations: 0 / 0.5627 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/0.3469, allocations: 8 kB / 0.5627 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.347, allocations: 7.984 kB / 0.5627 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.347, allocations: 8 kB / 0.5627 GB, free: 1.336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.3471, allocations: 157.8 kB / 0.5629 GB, free: 1.184 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3471, allocations: 0 / 0.5629 GB, free: 1.184 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.3474, allocations: 23.94 kB / 0.5629 GB, free: 1.16 MB / 398.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.002438/0.3498, allocations: 1.128 MB / 0.564 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.3501, allocations: 63.89 kB / 0.5641 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3501, allocations: 0 / 0.5641 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.185e-05/0.3501, allocations: 36.08 kB / 0.5641 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.3505, allocations: 19.14 kB / 0.5641 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.3526, allocations: 1.644 MB / 0.5657 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.3527, allocations: 88.19 kB / 0.5658 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.908e-05/0.3528, allocations: 16.66 kB / 0.5658 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.3528, allocations: 31.42 kB / 0.5659 GB, free: 14.23 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3528, allocations: 0 / 0.5659 GB, free: 14.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.3827, allocations: 3.615 MB / 0.5694 GB, free: 10.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.69, allocations: 0 / 0.5694 GB, free: 10.66 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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: 14.746140591334552]