Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.001748/0.001748, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00157/0.00157, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.241/0.241, allocations: 44.93 MB / 359.6 MB, free: 6.109 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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11",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.002035/0.002035, allocations: 63.84 kB / 0.4938 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3271, allocations: 65.47 MB / 0.5577 GB, free: 7.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.003253/0.3304, allocations: 1.651 MB / 0.5594 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.3323, allocations: 1.232 MB / 0.5606 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.3323, allocations: 4 kB / 0.5606 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.3325, allocations: 23.8 kB / 0.5606 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.3328, allocations: 95.55 kB / 0.5607 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.3332, allocations: 134.8 kB / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3333, allocations: 67.83 kB / 0.5609 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.3334, allocations: 17.81 kB / 0.5609 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.022e-05/0.3335, allocations: 35.84 kB / 0.5609 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3336, allocations: 31.86 kB / 0.5609 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3336, allocations: 4 kB / 0.561 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.3338, allocations: 99.88 kB / 0.561 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.3338, allocations: 15.92 kB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.3339, allocations: 31.84 kB / 0.5611 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.3341, allocations: 143.4 kB / 0.5612 GB, free: 3.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3341, allocations: 4 kB / 0.5612 GB, free: 3.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3341, allocations: 0 / 0.5612 GB, free: 3.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3342, allocations: 0 / 0.5612 GB, free: 3.992 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.0005743/0.3347, allocations: 353.5 kB / 0.5616 GB, free: 3.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3348, allocations: 8.031 kB / 0.5616 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.651e-05/0.3348, allocations: 4.188 kB / 0.5616 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.3348, allocations: 34.73 kB / 0.5616 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.3349, allocations: 8.891 kB / 0.5616 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.3351, allocations: 138.4 kB / 0.5618 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.3351, allocations: 384 / 0.5618 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.3351, allocations: 16.08 kB / 0.5618 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.3353, allocations: 97.03 kB / 0.5619 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3353, allocations: 4 kB / 0.5619 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3353, allocations: 0 / 0.5619 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3353, allocations: 4 kB / 0.5619 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.3355, allocations: 35.95 kB / 0.5619 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.3358, allocations: 263.9 kB / 0.5622 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.336, allocations: 42.5 kB / 0.5622 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.136e-05/0.3361, allocations: 20.94 kB / 0.5622 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3361, allocations: 8 kB / 0.5622 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.3361, allocations: 30.56 kB / 0.5623 GB, free: 2.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3361, allocations: 0 / 0.5623 GB, free: 2.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007989/0.3369, allocations: 217.5 kB / 0.5625 GB, free: 2.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.337, allocations: 77.11 kB / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3371, allocations: 156.5 kB / 0.5627 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3372, allocations: 25.7 kB / 0.5627 GB, free: 2.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.3372, allocations: 100.1 kB / 0.5628 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.3373, allocations: 27.73 kB / 0.5628 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.3373, allocations: 17.72 kB / 0.5628 GB, free: 2.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3374, allocations: 322.8 kB / 0.5632 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.3376, allocations: 35.97 kB / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3377, allocations: 75.33 kB / 0.5633 GB, free: 1.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.3379, allocations: 80.75 kB / 0.5633 GB, free: 1.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3379, allocations: 0 / 0.5633 GB, free: 1.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002974/0.3382, allocations: 113.6 kB / 0.5634 GB, free: 1.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.3383, allocations: 8 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3383, allocations: 0 / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3383, allocations: 7.969 kB / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.3384, allocations: 27.97 kB / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3384, allocations: 3.938 kB / 0.5635 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.3385, allocations: 8 kB / 0.5635 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.3385, allocations: 7.922 kB / 0.5635 GB, free: 1.434 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 9.922e-05/0.3386, allocations: 113.8 kB / 0.5636 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.3386, allocations: 7.953 kB / 0.5636 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.339, allocations: 126.3 kB / 0.5637 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.339, allocations: 0 / 0.5637 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.339, allocations: 3.938 kB / 0.5637 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.339, allocations: 0 / 0.5637 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005717/0.3396, allocations: 361.9 kB / 0.5641 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3396, allocations: 0 / 0.5641 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.949e-05/0.3397, allocations: 23.98 kB / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3397, allocations: 3.938 kB / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.3397, allocations: 0 / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3397, allocations: 0 / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3397, allocations: 0 / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.34, allocations: 215.5 kB / 0.5643 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.3401, allocations: 11.95 kB / 0.5643 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3401, allocations: 3.938 kB / 0.5643 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3402, allocations: 15.98 kB / 0.5644 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.3402, allocations: 11.98 kB / 0.5644 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3402, allocations: 0 / 0.5644 GB, free: 476 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.3403, allocations: 120.4 kB / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3403, allocations: 4 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.3407, allocations: 35.88 kB / 0.5645 GB, free: 316 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.002496/0.3432, allocations: 1.185 MB / 0.5657 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.3435, allocations: 79.92 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3435, allocations: 0 / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.3436, allocations: 44.05 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.344, allocations: 17.09 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.3462, allocations: 1.589 MB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.102e-05/0.3462, allocations: 79.67 kB / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.197e-05/0.3463, allocations: 20.66 kB / 0.5675 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.3464, allocations: 31.42 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3464, allocations: 3.938 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.3714, allocations: 3.794 MB / 0.5712 GB, free: 9.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.86, allocations: 8 kB / 0.5712 GB, free: 9.602 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.0118650670629]