Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001342/0.001342, allocations: 105.1 kB / 21.22 MB, free: 0.625 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.001448/0.001448, allocations: 215.8 kB / 24.52 MB, free: 3.934 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.2307/0.2307, allocations: 44.94 MB / 359.6 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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001998/0.001998, allocations: 67.91 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.359, allocations: 65.47 MB / 0.5578 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003314/0.3623, allocations: 1.669 MB / 0.5594 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3635, allocations: 0.5622 MB / 0.5599 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.3635, allocations: 0 / 0.5599 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.3638, allocations: 67.72 kB / 0.56 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.3642, allocations: 107.6 kB / 0.5601 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.3646, allocations: 178.9 kB / 0.5603 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.3648, allocations: 99.73 kB / 0.5604 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3649, allocations: 18.05 kB / 0.5604 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.469e-05/0.365, allocations: 43.83 kB / 0.5604 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3651, allocations: 63.75 kB / 0.5605 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.3651, allocations: 4 kB / 0.5605 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3652, allocations: 51.97 kB / 0.5605 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.81e-05/0.3653, allocations: 31.86 kB / 0.5606 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.3654, allocations: 31.8 kB / 0.5606 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.3656, allocations: 127.4 kB / 0.5607 GB, free: 4.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3656, allocations: 0 / 0.5607 GB, free: 4.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3656, allocations: 0 / 0.5607 GB, free: 4.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.3656, allocations: 0 / 0.5607 GB, free: 4.504 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005285/0.3661, allocations: 361.4 kB / 0.5611 GB, free: 4.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3661, allocations: 12.03 kB / 0.5611 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.083e-05/0.3662, allocations: 192 / 0.5611 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.3662, allocations: 38.75 kB / 0.5611 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.3662, allocations: 16.84 kB / 0.5611 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.3664, allocations: 158.8 kB / 0.5613 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3664, allocations: 4.375 kB / 0.5613 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.3665, allocations: 8.125 kB / 0.5613 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.3666, allocations: 65.66 kB / 0.5614 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3667, allocations: 0 / 0.5614 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3667, allocations: 7.938 kB / 0.5614 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3667, allocations: 0 / 0.5614 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.3668, allocations: 43.91 kB / 0.5614 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.3673, allocations: 295.8 kB / 0.5617 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.3676, allocations: 62.56 kB / 0.5617 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.645e-05/0.3677, allocations: 28.95 kB / 0.5618 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3677, allocations: 4 kB / 0.5618 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3677, allocations: 30.56 kB / 0.5618 GB, free: 3.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3677, allocations: 0 / 0.5618 GB, free: 3.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001589/0.3693, allocations: 440.8 kB / 0.5622 GB, free: 2.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.3693, allocations: 55.41 kB / 0.5623 GB, free: 2.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.3696, allocations: 222.7 kB / 0.5625 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3696, allocations: 29.7 kB / 0.5625 GB, free: 2.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.3697, allocations: 108.1 kB / 0.5626 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.3697, allocations: 35.64 kB / 0.5627 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.3698, allocations: 29.7 kB / 0.5627 GB, free: 2.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3699, allocations: 322.8 kB / 0.563 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3701, allocations: 55.95 kB / 0.563 GB, free: 1.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.3702, allocations: 59.95 kB / 0.5631 GB, free: 1.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.3705, allocations: 120.8 kB / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3705, allocations: 0 / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003469/0.3708, allocations: 170 kB / 0.5634 GB, free: 1.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3708, allocations: 4 kB / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3708, allocations: 0 / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3709, allocations: 3.938 kB / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.371, allocations: 35.91 kB / 0.5634 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.371, allocations: 4 kB / 0.5634 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.3711, allocations: 11.98 kB / 0.5634 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3711, allocations: 4 kB / 0.5634 GB, free: 1.512 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 (11): * Single equations (assignments): 11 * 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.0001215/0.3712, allocations: 133.8 kB / 0.5636 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.3712, allocations: 15.91 kB / 0.5636 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.3717, allocations: 194.8 kB / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3717, allocations: 3.984 kB / 0.5638 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3717, allocations: 4 kB / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3717, allocations: 0 / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007368/0.3724, allocations: 479 kB / 0.5642 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3724, allocations: 0 / 0.5642 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.3725, allocations: 27.98 kB / 0.5643 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.3725, allocations: 4 kB / 0.5643 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3726, allocations: 3.984 kB / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3726, allocations: 0 / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.3726, allocations: 4 kB / 0.5643 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.373, allocations: 281 kB / 0.5645 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.373, allocations: 11.91 kB / 0.5646 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.373, allocations: 8 kB / 0.5646 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3731, allocations: 7.984 kB / 0.5646 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.3732, allocations: 11.98 kB / 0.5646 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3732, allocations: 4 kB / 0.5646 GB, free: 248 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.3734, allocations: 172.3 kB / 0.5647 GB, free: 76 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3734, allocations: 0 / 0.5647 GB, free: 76 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.3737, allocations: 31.94 kB / 0.5648 GB, free: 44 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00257/0.3762, allocations: 1.193 MB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003887/0.3766, allocations: 123.8 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3766, allocations: 4 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.3768, allocations: 67.83 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.3772, allocations: 29.58 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.3799, allocations: 1.985 MB / 0.5681 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.38, allocations: 117.8 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.3801, allocations: 32.45 kB / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.409e-05/0.3802, allocations: 47.42 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3802, allocations: 4 kB / 0.5683 GB, free: 12.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.4038, allocations: 3.877 MB / 0.5721 GB, free: 8.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.78, allocations: 3.938 kB / 0.5721 GB, free: 8.707 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.027599895955063]