Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001708/0.001708, 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.001517/0.001517, 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.475/1.475, 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.2299/0.2299, allocations: 44.94 MB / 358.8 MB, free: 6.074 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",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.002312/0.002312, allocations: 67.89 kB / 0.4931 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3493, allocations: 65.48 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003114/0.3524, allocations: 1.654 MB / 0.5586 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3535, allocations: 0.5427 MB / 0.5591 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.3536, allocations: 0 / 0.5591 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006051/0.3542, allocations: 459.1 kB / 0.5596 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.3547, allocations: 291.3 kB / 0.5599 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.355, allocations: 139.2 kB / 0.56 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.3553, allocations: 175.6 kB / 0.5602 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3554, allocations: 18.05 kB / 0.5602 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3555, allocations: 119.7 kB / 0.5603 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.3558, allocations: 243.5 kB / 0.5605 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.3558, allocations: 7.938 kB / 0.5605 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3559, allocations: 55.97 kB / 0.5606 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.3561, allocations: 83.62 kB / 0.5607 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.363e-05/0.3561, allocations: 79.23 kB / 0.5607 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.3565, allocations: 290.5 kB / 0.561 GB, free: 3.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3565, allocations: 0 / 0.561 GB, free: 3.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3565, allocations: 3.938 kB / 0.561 GB, free: 3.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3565, allocations: 0 / 0.561 GB, free: 3.406 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.0008273/0.3573, allocations: 0.6048 MB / 0.5616 GB, free: 2.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3574, allocations: 8.031 kB / 0.5616 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.3574, allocations: 34.73 kB / 0.5617 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.3575, allocations: 48.66 kB / 0.5617 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.3578, allocations: 242.8 kB / 0.5619 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3578, allocations: 12.38 kB / 0.5619 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.3578, allocations: 384 / 0.5619 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.358, allocations: 73.55 kB / 0.562 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.358, allocations: 0 / 0.562 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.358, allocations: 0 / 0.562 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.358, allocations: 0 / 0.562 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.3582, allocations: 39.95 kB / 0.5621 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.3587, allocations: 375.7 kB / 0.5624 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.359, allocations: 54.5 kB / 0.5625 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.893e-05/0.359, allocations: 28.95 kB / 0.5625 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.3591, allocations: 0 / 0.5625 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3591, allocations: 34.56 kB / 0.5625 GB, free: 1.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3591, allocations: 0 / 0.5625 GB, free: 1.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001503/0.3606, allocations: 484.3 kB / 0.563 GB, free: 1.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.3606, allocations: 55.41 kB / 0.563 GB, free: 1.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.3617, allocations: 0.8698 MB / 0.5639 GB, free: 312 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3617, allocations: 25.7 kB / 0.5639 GB, free: 280 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.3619, allocations: 220 kB / 0.5641 GB, free: 56 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.3619, allocations: 35.69 kB / 0.5642 GB, free: 20 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.362, allocations: 29.75 kB / 0.5642 GB, free: 15.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.3622, allocations: 358.8 kB / 0.5645 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.3624, allocations: 39.97 kB / 0.5646 GB, free: 15.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.3625, allocations: 51.95 kB / 0.5646 GB, free: 15.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.3627, allocations: 101 kB / 0.5647 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3627, allocations: 0 / 0.5647 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000358/0.3631, allocations: 177.3 kB / 0.5649 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3631, allocations: 11.98 kB / 0.5649 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3631, allocations: 0.5625 kB / 0.5649 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3631, allocations: 3.938 kB / 0.5649 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.3633, allocations: 27.92 kB / 0.5649 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.3633, allocations: 4 kB / 0.5649 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.3633, allocations: 7.984 kB / 0.5649 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.3634, allocations: 8 kB / 0.5649 GB, free: 15.19 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 (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.0002201/0.3636, allocations: 221.7 kB / 0.5652 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.78e-05/0.3637, allocations: 51.67 kB / 0.5652 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/0.3641, allocations: 201.5 kB / 0.5654 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3641, allocations: 7.938 kB / 0.5654 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3641, allocations: 0 / 0.5654 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3641, allocations: 3.984 kB / 0.5654 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/0.365, allocations: 0.5341 MB / 0.5659 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.365, allocations: 0 / 0.5659 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.3651, allocations: 23.98 kB / 0.5659 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.3651, allocations: 4 kB / 0.566 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3651, allocations: 0 / 0.566 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.3651, allocations: 7.984 kB / 0.566 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3651, allocations: 0 / 0.566 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.3655, allocations: 288.8 kB / 0.5662 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.3656, allocations: 47.66 kB / 0.5663 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.3656, allocations: 4 kB / 0.5663 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3657, allocations: 7.984 kB / 0.5663 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.3658, allocations: 11.98 kB / 0.5663 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.3658, allocations: 4 kB / 0.5663 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007059/0.3665, allocations: 0.6589 MB / 0.567 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3665, allocations: 0 / 0.567 GB, free: 13.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.3668, allocations: 31.94 kB / 0.567 GB, free: 13 MB / 414.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.002526/0.3693, allocations: 1.216 MB / 0.5682 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003393/0.3697, allocations: 107.8 kB / 0.5683 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3697, allocations: 0 / 0.5683 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3698, allocations: 55.91 kB / 0.5683 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.3702, allocations: 33.3 kB / 0.5684 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/0.3746, allocations: 3.447 MB / 0.5717 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.3749, allocations: 228.8 kB / 0.5719 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.495e-05/0.3749, allocations: 24.47 kB / 0.572 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.3751, allocations: 111.4 kB / 0.5721 GB, free: 7.859 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3751, allocations: 4 kB / 0.5721 GB, free: 7.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03997/0.4151, allocations: 7.077 MB / 0.579 GB, free: 0.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.92, allocations: 5 kB / 0.579 GB, free: 0.8281 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.031189871951938]