Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001307/0.001307, 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.001428/0.001428, allocations: 212 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2219/0.2219, allocations: 44.93 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",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.002154/0.002154, allocations: 73.61 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.346, allocations: 65.47 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003256/0.3493, allocations: 1.609 MB / 0.5585 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3504, allocations: 0.5028 MB / 0.559 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.3504, allocations: 3.938 kB / 0.559 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.351, allocations: 459.1 kB / 0.5595 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005025/0.3515, allocations: 295.3 kB / 0.5598 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.3519, allocations: 127.3 kB / 0.5599 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.3521, allocations: 163.6 kB / 0.56 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3522, allocations: 8.188 kB / 0.56 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.3524, allocations: 111.8 kB / 0.5602 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.3527, allocations: 247.5 kB / 0.5604 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.3527, allocations: 0 / 0.5604 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-05/0.3528, allocations: 24 kB / 0.5604 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.3529, allocations: 84.66 kB / 0.5605 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.624e-05/0.3529, allocations: 67.25 kB / 0.5606 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.3533, allocations: 268.4 kB / 0.5608 GB, free: 3.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3533, allocations: 0 / 0.5608 GB, free: 3.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3533, allocations: 0 / 0.5608 GB, free: 3.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.3533, allocations: 0 / 0.5608 GB, free: 3.594 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.000813/0.3541, allocations: 0.5776 MB / 0.5614 GB, free: 2.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3542, allocations: 12.03 kB / 0.5614 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.3542, allocations: 34.73 kB / 0.5614 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.3543, allocations: 48.61 kB / 0.5615 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.3546, allocations: 246.8 kB / 0.5617 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3546, allocations: 4.375 kB / 0.5617 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.3546, allocations: 12.11 kB / 0.5617 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.3548, allocations: 45.69 kB / 0.5618 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3548, allocations: 0 / 0.5618 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.3548, allocations: 0 / 0.5618 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3548, allocations: 0 / 0.5618 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.3549, allocations: 23.92 kB / 0.5618 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.3554, allocations: 347.9 kB / 0.5621 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.66e-05/0.3554, allocations: 34.56 kB / 0.5622 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.804e-05/0.3555, allocations: 16.92 kB / 0.5622 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.3555, allocations: 0 / 0.5622 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.3555, allocations: 34.5 kB / 0.5622 GB, free: 2.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3555, allocations: 0 / 0.5622 GB, free: 2.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002895/0.3558, allocations: 97.39 kB / 0.5623 GB, free: 1.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.3559, allocations: 51.41 kB / 0.5623 GB, free: 1.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009204/0.3568, allocations: 0.8738 MB / 0.5632 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3568, allocations: 29.83 kB / 0.5632 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.357, allocations: 232 kB / 0.5634 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.357, allocations: 3.953 kB / 0.5634 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.3571, allocations: 17.72 kB / 0.5635 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3572, allocations: 362.7 kB / 0.5638 GB, free: 340 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.3573, allocations: 11.94 kB / 0.5638 GB, free: 328 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.835e-05/0.3573, allocations: 11.98 kB / 0.5638 GB, free: 316 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.704e-05/0.3574, allocations: 32.72 kB / 0.5639 GB, free: 280 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3574, allocations: 64 / 0.5639 GB, free: 280 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001493/0.3576, allocations: 93.41 kB / 0.564 GB, free: 180 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3576, allocations: 4 kB / 0.564 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3576, allocations: 0 / 0.564 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3576, allocations: 0 / 0.564 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.431e-05/0.3577, allocations: 8 kB / 0.564 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3577, allocations: 0 / 0.564 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.3577, allocations: 7.922 kB / 0.564 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3577, allocations: 7.938 kB / 0.564 GB, free: 152 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.0002255/0.358, allocations: 205.8 kB / 0.5642 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.358, allocations: 43.72 kB / 0.5642 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.3582, allocations: 112.8 kB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3582, allocations: 0 / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3582, allocations: 0 / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3583, allocations: 0 / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.3585, allocations: 252.6 kB / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3585, allocations: 0 / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.3586, allocations: 7.984 kB / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3586, allocations: 0 / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3586, allocations: 8.031 kB / 0.5646 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.3586, allocations: 4 kB / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3586, allocations: 4 kB / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.3588, allocations: 187.1 kB / 0.5648 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.3589, allocations: 43.66 kB / 0.5648 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.3589, allocations: 0 / 0.5648 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.359, allocations: 4 kB / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.359, allocations: 4 kB / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.359, allocations: 0 / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000703/0.3597, allocations: 0.6667 MB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3597, allocations: 0 / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.3599, allocations: 16 kB / 0.5655 GB, free: 14.53 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.001797/0.3617, allocations: 1 MB / 0.5665 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.3619, allocations: 23.98 kB / 0.5665 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3619, allocations: 0 / 0.5665 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.3619, allocations: 4 kB / 0.5665 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.3623, allocations: 35.05 kB / 0.5665 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.366, allocations: 3.156 MB / 0.5696 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.3663, allocations: 215.5 kB / 0.5698 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.337e-05/0.3663, allocations: 15.8 kB / 0.5698 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.3665, allocations: 111.4 kB / 0.5699 GB, free: 9.996 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3665, allocations: 0 / 0.5699 GB, free: 9.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.4011, allocations: 6.253 MB / 0.576 GB, free: 3.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.75, allocations: 11.34 kB / 0.576 GB, free: 3.781 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.783587966114283]