Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001414/0.001414, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001427/0.001427, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.508/1.508, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.2307/0.2307, allocations: 44.93 MB / 359.6 MB, free: 6.066 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="cs",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.002181/0.002181, allocations: 59.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3286, allocations: 65.47 MB / 0.5577 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.004206/0.3328, allocations: 1.647 MB / 0.5594 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.3353, allocations: 1.236 MB / 0.5606 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.947e-05/0.3354, allocations: 0 / 0.5606 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.3356, allocations: 23.84 kB / 0.5606 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.3361, allocations: 95.56 kB / 0.5607 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.3366, allocations: 131.2 kB / 0.5608 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.3368, allocations: 75.72 kB / 0.5609 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3369, allocations: 17.8 kB / 0.5609 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.337, allocations: 31.86 kB / 0.5609 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.3372, allocations: 35.83 kB / 0.561 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3372, allocations: 12 kB / 0.561 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.3375, allocations: 95.89 kB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.106e-05/0.3376, allocations: 19.91 kB / 0.5611 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.3376, allocations: 19.88 kB / 0.5611 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.338, allocations: 147.5 kB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.338, allocations: 0 / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.338, allocations: 0 / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.338, allocations: 0 / 0.5612 GB, free: 3.98 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.0007343/0.3387, allocations: 355.2 kB / 0.5616 GB, free: 3.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.3388, allocations: 8.031 kB / 0.5616 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.652e-05/0.3388, allocations: 4.188 kB / 0.5616 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.3388, allocations: 34.75 kB / 0.5616 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.3389, allocations: 8.891 kB / 0.5616 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.3391, allocations: 134.4 kB / 0.5618 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.3391, allocations: 4.375 kB / 0.5618 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.3391, allocations: 12.08 kB / 0.5618 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.3393, allocations: 116.9 kB / 0.5619 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3394, allocations: 0 / 0.5619 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.3394, allocations: 0 / 0.5619 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3394, allocations: 0 / 0.5619 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.3395, allocations: 39.97 kB / 0.5619 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.3399, allocations: 255.9 kB / 0.5622 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.3401, allocations: 42.5 kB / 0.5622 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.3402, allocations: 24.92 kB / 0.5622 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3402, allocations: 0 / 0.5622 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3402, allocations: 34.56 kB / 0.5623 GB, free: 2.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3402, allocations: 0 / 0.5623 GB, free: 2.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000865/0.3411, allocations: 217.5 kB / 0.5625 GB, free: 2.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.3411, allocations: 77.11 kB / 0.5625 GB, free: 2.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.3413, allocations: 157 kB / 0.5627 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.3414, allocations: 25.7 kB / 0.5627 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.3415, allocations: 100.1 kB / 0.5628 GB, free: 2.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.3416, allocations: 31.8 kB / 0.5628 GB, free: 2.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.3416, allocations: 21.66 kB / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3418, allocations: 322.8 kB / 0.5632 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3419, allocations: 31.97 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3421, allocations: 71.39 kB / 0.5633 GB, free: 1.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.3423, allocations: 80.83 kB / 0.5633 GB, free: 1.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3423, allocations: 3.938 kB / 0.5633 GB, free: 1.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003392/0.3426, allocations: 105.6 kB / 0.5634 GB, free: 1.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3427, allocations: 8 kB / 0.5635 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3427, allocations: 0 / 0.5635 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.3427, allocations: 3.984 kB / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3428, allocations: 23.98 kB / 0.5635 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3429, allocations: 8.25 kB / 0.5635 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.044e-05/0.3429, allocations: 7.984 kB / 0.5635 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.3429, allocations: 4 kB / 0.5635 GB, free: 1.43 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 (7): * Single equations (assignments): 7 * 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.0001105/0.3431, allocations: 117.8 kB / 0.5636 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.3431, allocations: 7.953 kB / 0.5636 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.3435, allocations: 138.2 kB / 0.5638 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3435, allocations: 4 kB / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/0.3435, allocations: 3.938 kB / 0.5638 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3435, allocations: 3.938 kB / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/0.3441, allocations: 353.6 kB / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3441, allocations: 0 / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.927e-05/0.3442, allocations: 19.98 kB / 0.5641 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3442, allocations: 3.938 kB / 0.5641 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.3442, allocations: 4 kB / 0.5641 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.3442, allocations: 3.984 kB / 0.5641 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3442, allocations: 0 / 0.5641 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.3446, allocations: 207.5 kB / 0.5643 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.3446, allocations: 15.94 kB / 0.5643 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.3446, allocations: 3.938 kB / 0.5644 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.3447, allocations: 15.94 kB / 0.5644 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.3448, allocations: 7.984 kB / 0.5644 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3448, allocations: 8 kB / 0.5644 GB, free: 452 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.3449, allocations: 119.2 kB / 0.5645 GB, free: 332 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3449, allocations: 0 / 0.5645 GB, free: 332 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.3452, allocations: 43.86 kB / 0.5645 GB, free: 288 kB / 398.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 (7): * Single equations (assignments): 7 * 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.002502/0.3477, allocations: 1.169 MB / 0.5657 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.348, allocations: 83.88 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.348, allocations: 0 / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.3482, allocations: 35.97 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.3485, allocations: 17.08 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.3509, allocations: 1.593 MB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.351, allocations: 79.67 kB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.149e-05/0.3511, allocations: 20.95 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.114e-05/0.3512, allocations: 35.59 kB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3512, allocations: 0 / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.3778, allocations: 3.79 MB / 0.5712 GB, free: 9.598 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.94, allocations: 8 kB / 0.5712 GB, free: 9.59 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.131713894894347]