Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001906/0.001906, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002416/0.002416, allocations: 211.5 kB / 23.73 MB, free: 4.387 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2304/0.2304, allocations: 44.94 MB / 358.8 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.00213/0.00213, allocations: 72.17 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3436, allocations: 65.48 MB / 0.557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003965/0.3476, allocations: 1.641 MB / 0.5586 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3488, allocations: 0.5349 MB / 0.5591 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.406e-05/0.3489, allocations: 0 / 0.5591 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.3495, allocations: 455.1 kB / 0.5595 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006018/0.3501, allocations: 295.3 kB / 0.5598 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.3505, allocations: 130.9 kB / 0.56 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.3508, allocations: 171.6 kB / 0.5601 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3509, allocations: 17.8 kB / 0.5601 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.3511, allocations: 107.7 kB / 0.5602 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.3515, allocations: 251.5 kB / 0.5605 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.3515, allocations: 0 / 0.5605 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.3516, allocations: 35.98 kB / 0.5605 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.3518, allocations: 79.69 kB / 0.5606 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.673e-05/0.3519, allocations: 71.25 kB / 0.5607 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.3523, allocations: 278.5 kB / 0.5609 GB, free: 3.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3523, allocations: 0 / 0.5609 GB, free: 3.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3523, allocations: 0 / 0.5609 GB, free: 3.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.3523, allocations: 0 / 0.5609 GB, free: 3.531 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.001055/0.3534, allocations: 0.5854 MB / 0.5615 GB, free: 2.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3534, allocations: 8.031 kB / 0.5615 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.3535, allocations: 34.75 kB / 0.5615 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.719e-05/0.3536, allocations: 48.61 kB / 0.5616 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.3539, allocations: 246.8 kB / 0.5618 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3539, allocations: 4.375 kB / 0.5618 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.3539, allocations: 4.375 kB / 0.5618 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.3541, allocations: 57.56 kB / 0.5619 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3541, allocations: 0 / 0.5619 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3541, allocations: 0 / 0.5619 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3541, allocations: 0 / 0.5619 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.3542, allocations: 31.97 kB / 0.5619 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005771/0.3548, allocations: 359.7 kB / 0.5623 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.3551, allocations: 46.48 kB / 0.5623 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.3551, allocations: 24.94 kB / 0.5623 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.3551, allocations: 0 / 0.5623 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.3552, allocations: 30.56 kB / 0.5624 GB, free: 1.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.3552, allocations: 0 / 0.5624 GB, free: 1.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006845/0.3559, allocations: 228.7 kB / 0.5626 GB, free: 1.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3559, allocations: 59.34 kB / 0.5626 GB, free: 1.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009801/0.3569, allocations: 0.8737 MB / 0.5635 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3569, allocations: 33.7 kB / 0.5635 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.3571, allocations: 224.1 kB / 0.5637 GB, free: 496 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.3571, allocations: 23.78 kB / 0.5637 GB, free: 472 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.3572, allocations: 17.7 kB / 0.5638 GB, free: 448 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.3574, allocations: 358.8 kB / 0.5641 GB, free: 80 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.3575, allocations: 19.98 kB / 0.5641 GB, free: 60 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.28e-05/0.3576, allocations: 19.98 kB / 0.5641 GB, free: 40 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.3577, allocations: 48.92 kB / 0.5642 GB, free: 15.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3577, allocations: 4 kB / 0.5642 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002642/0.358, allocations: 117.3 kB / 0.5643 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.358, allocations: 8 kB / 0.5643 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.358, allocations: 0 / 0.5643 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3581, allocations: 0 / 0.5643 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.3581, allocations: 12.23 kB / 0.5643 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3581, allocations: 0 / 0.5643 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.738e-05/0.3582, allocations: 15.92 kB / 0.5643 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3582, allocations: 4 kB / 0.5643 GB, free: 15.82 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 (5): * Single equations (assignments): 5 * 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.0002417/0.3585, allocations: 213.8 kB / 0.5645 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.3585, allocations: 43.72 kB / 0.5646 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.3589, allocations: 137.2 kB / 0.5647 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3589, allocations: 0 / 0.5647 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3589, allocations: 4 kB / 0.5647 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3589, allocations: 3.938 kB / 0.5647 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006983/0.3596, allocations: 425.4 kB / 0.5651 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3596, allocations: 4 kB / 0.5651 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/0.3597, allocations: 19.98 kB / 0.5652 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3597, allocations: 0 / 0.5652 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3597, allocations: 3.938 kB / 0.5652 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3597, allocations: 0 / 0.5652 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3597, allocations: 0 / 0.5652 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.36, allocations: 215.2 kB / 0.5654 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-05/0.3601, allocations: 35.72 kB / 0.5654 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.3601, allocations: 7.922 kB / 0.5654 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.3602, allocations: 15.94 kB / 0.5654 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.3602, allocations: 7.938 kB / 0.5654 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3602, allocations: 3.984 kB / 0.5654 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007915/0.361, allocations: 0.655 MB / 0.5661 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.361, allocations: 0 / 0.5661 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.3613, allocations: 27.92 kB / 0.5661 GB, free: 13.94 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 (5): * Single equations (assignments): 5 * 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.002293/0.3636, allocations: 1.072 MB / 0.5671 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.3638, allocations: 51.91 kB / 0.5672 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3638, allocations: 0 / 0.5672 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.865e-05/0.3639, allocations: 23.97 kB / 0.5672 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.3643, allocations: 22.31 kB / 0.5672 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.3687, allocations: 3.24 MB / 0.5704 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.3689, allocations: 220.2 kB / 0.5706 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.739e-05/0.369, allocations: 15.98 kB / 0.5706 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.3691, allocations: 107.4 kB / 0.5707 GB, free: 9.238 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3691, allocations: 0 / 0.5707 GB, free: 9.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.4053, allocations: 6.58 MB / 0.5772 GB, free: 2.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.77, allocations: 14.47 kB / 0.5772 GB, free: 2.699 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.902877018786967]