Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.001767/0.001767, 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.001939/0.001939, allocations: 212.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.538/1.538, allocations: 230.6 MB / 258.3 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.2325/0.2325, allocations: 44.94 MB / 359.6 MB, free: 6.082 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",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.002831/0.002831, allocations: 63.84 kB / 0.4938 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3613, allocations: 65.47 MB / 0.5577 GB, free: 7.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003541/0.3648, allocations: 1.61 MB / 0.5593 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.366, allocations: 0.5066 MB / 0.5598 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.366, allocations: 4 kB / 0.5598 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006632/0.3667, allocations: 459.1 kB / 0.5602 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005406/0.3672, allocations: 283.3 kB / 0.5605 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.3676, allocations: 131 kB / 0.5606 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.3679, allocations: 163.6 kB / 0.5608 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.368, allocations: 8.188 kB / 0.5608 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.3681, allocations: 111.8 kB / 0.5609 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.3684, allocations: 251.5 kB / 0.5611 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3685, allocations: 0 / 0.5611 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.3685, allocations: 23.98 kB / 0.5612 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.3687, allocations: 80.69 kB / 0.5612 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.759e-05/0.3687, allocations: 75.22 kB / 0.5613 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.3692, allocations: 268.4 kB / 0.5616 GB, free: 3.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3692, allocations: 0 / 0.5616 GB, free: 3.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3692, allocations: 0 / 0.5616 GB, free: 3.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3692, allocations: 0 / 0.5616 GB, free: 3.668 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.0007816/0.37, allocations: 0.5738 MB / 0.5621 GB, free: 3.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.37, allocations: 16.03 kB / 0.5622 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.091e-05/0.37, allocations: 192 / 0.5622 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.3701, allocations: 30.75 kB / 0.5622 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.3701, allocations: 52.61 kB / 0.5622 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.3705, allocations: 246.8 kB / 0.5625 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3705, allocations: 384 / 0.5625 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3705, allocations: 7.938 kB / 0.5625 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.3707, allocations: 49.62 kB / 0.5625 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3707, allocations: 0 / 0.5625 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.3707, allocations: 0 / 0.5625 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3707, allocations: 0 / 0.5625 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.3708, allocations: 23.98 kB / 0.5625 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.3713, allocations: 343.9 kB / 0.5629 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.962e-05/0.3714, allocations: 34.5 kB / 0.5629 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.3715, allocations: 16.92 kB / 0.5629 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.3715, allocations: 7.969 kB / 0.5629 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.3715, allocations: 30.56 kB / 0.563 GB, free: 2.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3715, allocations: 0 / 0.563 GB, free: 2.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002871/0.3718, allocations: 97.41 kB / 0.5631 GB, free: 2.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.3719, allocations: 55.41 kB / 0.5631 GB, free: 1.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009639/0.3729, allocations: 0.8776 MB / 0.564 GB, free: 1.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3729, allocations: 25.7 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.3731, allocations: 228 kB / 0.5642 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.3731, allocations: 7.891 kB / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.3731, allocations: 17.72 kB / 0.5642 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.3733, allocations: 362.7 kB / 0.5646 GB, free: 416 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.3734, allocations: 15.94 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.299e-05/0.3734, allocations: 8.109 kB / 0.5646 GB, free: 392 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.959e-05/0.3735, allocations: 28.91 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3735, allocations: 0 / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001608/0.3736, allocations: 89.41 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3737, allocations: 4 kB / 0.5647 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3737, allocations: 0 / 0.5647 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3737, allocations: 4 kB / 0.5647 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.3738, allocations: 11.92 kB / 0.5647 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3738, allocations: 0 / 0.5647 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.3738, allocations: 11.91 kB / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3738, allocations: 4 kB / 0.5647 GB, free: 228 kB / 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 (2): * Single equations (assignments): 2 * 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.000203/0.374, allocations: 209.8 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.75e-05/0.3741, allocations: 39.91 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.3743, allocations: 104.8 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3743, allocations: 0 / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3743, allocations: 0 / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3743, allocations: 3.75 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.3747, allocations: 252.7 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3747, allocations: 4 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.3747, allocations: 7.984 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3747, allocations: 0 / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3747, allocations: 8 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3747, allocations: 7.938 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3747, allocations: 0 / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.3749, allocations: 187.2 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.375, allocations: 39.67 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.375, allocations: 0 / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.3751, allocations: 12.03 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.3751, allocations: 7.922 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3751, allocations: 0 / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006938/0.3758, allocations: 0.655 MB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3758, allocations: 0 / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.3761, allocations: 19.98 kB / 0.5662 GB, free: 14.61 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 (2): * Single equations (assignments): 2 * 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.001801/0.3779, allocations: 0.9924 MB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.378, allocations: 23.98 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.378, allocations: 0 / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.3781, allocations: 11.98 kB / 0.5673 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.3785, allocations: 25.77 kB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/0.3824, allocations: 3.156 MB / 0.5704 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.3827, allocations: 211.5 kB / 0.5706 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.567e-05/0.3827, allocations: 15.73 kB / 0.5706 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.3829, allocations: 111.4 kB / 0.5707 GB, free: 10.08 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3829, allocations: 0 / 0.5707 GB, free: 10.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.4126, allocations: 5.994 MB / 0.5765 GB, free: 4.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.41, allocations: 10.47 kB / 0.5765 GB, free: 4.141 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.626910108025186]