Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001905/0.001905, 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.001491/0.001491, allocations: 208.4 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2262/0.2262, allocations: 44.93 MB / 358.8 MB, free: 6.043 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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.002071/0.002071, allocations: 68.19 kB / 0.493 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3553, allocations: 65.47 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003957/0.3592, allocations: 1.614 MB / 0.5586 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3605, allocations: 0.5339 MB / 0.5591 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.3606, allocations: 3.938 kB / 0.5591 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007097/0.3613, allocations: 459.1 kB / 0.5595 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000612/0.3619, allocations: 287.3 kB / 0.5598 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.3625, allocations: 179.2 kB / 0.56 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.3628, allocations: 163.6 kB / 0.5601 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3629, allocations: 19.97 kB / 0.5601 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.363, allocations: 103.7 kB / 0.5602 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.3634, allocations: 247.5 kB / 0.5605 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.3634, allocations: 8 kB / 0.5605 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.533e-05/0.3635, allocations: 31.97 kB / 0.5605 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.3636, allocations: 80.67 kB / 0.5606 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.994e-05/0.3637, allocations: 67.25 kB / 0.5606 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.3641, allocations: 264.5 kB / 0.5609 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3641, allocations: 0 / 0.5609 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3641, allocations: 0 / 0.5609 GB, free: 3.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.3641, allocations: 3.938 kB / 0.5609 GB, free: 3.461 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.0009411/0.365, allocations: 0.5815 MB / 0.5615 GB, free: 2.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3651, allocations: 8.031 kB / 0.5615 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.373e-05/0.3651, allocations: 42.73 kB / 0.5615 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.3653, allocations: 44.66 kB / 0.5616 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.3656, allocations: 246.8 kB / 0.5618 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3656, allocations: 384 / 0.5618 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.3656, allocations: 4.375 kB / 0.5618 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.3658, allocations: 53.62 kB / 0.5619 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3658, allocations: 0 / 0.5619 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.3658, allocations: 3.938 kB / 0.5619 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3658, allocations: 0 / 0.5619 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.397e-05/0.3659, allocations: 27.97 kB / 0.5619 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.3665, allocations: 351.9 kB / 0.5622 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3666, allocations: 34.56 kB / 0.5623 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.3666, allocations: 16.84 kB / 0.5623 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3667, allocations: 0 / 0.5623 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.3667, allocations: 38.56 kB / 0.5623 GB, free: 1.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3667, allocations: 0 / 0.5623 GB, free: 1.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002917/0.367, allocations: 105.3 kB / 0.5624 GB, free: 1.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.367, allocations: 51.53 kB / 0.5625 GB, free: 1.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009953/0.368, allocations: 0.8777 MB / 0.5633 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.368, allocations: 25.7 kB / 0.5633 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.3683, allocations: 228.1 kB / 0.5636 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.3683, allocations: 7.891 kB / 0.5636 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.3683, allocations: 17.72 kB / 0.5636 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000248/0.3686, allocations: 362.7 kB / 0.5639 GB, free: 180 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/0.3686, allocations: 19.88 kB / 0.5639 GB, free: 160 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.3687, allocations: 7.984 kB / 0.564 GB, free: 152 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.204e-05/0.3688, allocations: 32.91 kB / 0.564 GB, free: 116 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.3688, allocations: 3.938 kB / 0.564 GB, free: 112 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001968/0.369, allocations: 93.41 kB / 0.5641 GB, free: 12 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.369, allocations: 11.98 kB / 0.5641 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.369, allocations: 0 / 0.5641 GB, free: 0 / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.369, allocations: 0 / 0.5641 GB, free: 0 / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.3691, allocations: 4.047 kB / 0.5641 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3691, allocations: 0 / 0.5641 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.3692, allocations: 8 kB / 0.5641 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.984e-06/0.3692, allocations: 4.031 kB / 0.5641 GB, free: 15.98 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 (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.0002205/0.3694, allocations: 217.6 kB / 0.5643 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.3695, allocations: 47.67 kB / 0.5644 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.3697, allocations: 112.8 kB / 0.5645 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3697, allocations: 0 / 0.5645 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3697, allocations: 0 / 0.5645 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3697, allocations: 0 / 0.5645 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.3701, allocations: 256.6 kB / 0.5647 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3701, allocations: 0 / 0.5647 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.3701, allocations: 12.02 kB / 0.5647 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.3701, allocations: 4 kB / 0.5647 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-06/0.3701, allocations: 0 / 0.5647 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3701, allocations: 0 / 0.5647 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3701, allocations: 0 / 0.5647 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.3704, allocations: 195.1 kB / 0.5649 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.3705, allocations: 35.72 kB / 0.5649 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.3705, allocations: 4 kB / 0.5649 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.3706, allocations: 3.984 kB / 0.565 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.3706, allocations: 4 kB / 0.565 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.3706, allocations: 4.031 kB / 0.565 GB, free: 15.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007527/0.3713, allocations: 0.6589 MB / 0.5656 GB, free: 14.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3713, allocations: 0 / 0.5656 GB, free: 14.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.3716, allocations: 19.94 kB / 0.5656 GB, free: 14.35 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.001883/0.3735, allocations: 0.992 MB / 0.5666 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.3736, allocations: 27.97 kB / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3736, allocations: 3.938 kB / 0.5666 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.3737, allocations: 12 kB / 0.5666 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.3741, allocations: 30.23 kB / 0.5667 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/0.3782, allocations: 3.191 MB / 0.5698 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.3785, allocations: 216.2 kB / 0.57 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.175e-05/0.3785, allocations: 15.73 kB / 0.57 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.3787, allocations: 115.4 kB / 0.5701 GB, free: 9.773 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3787, allocations: 0 / 0.5701 GB, free: 9.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.4117, allocations: 6.315 MB / 0.5763 GB, free: 3.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.75, allocations: 10.41 kB / 0.5763 GB, free: 3.5 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.736859710887074]