Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.002074/0.002074, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002259/0.002259, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2243/0.2243, allocations: 44.92 MB / 359.6 MB, free: 6.289 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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",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.002011/0.002011, allocations: 67.84 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3067, allocations: 65.46 MB / 0.5578 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003092/0.3098, allocations: 1.618 MB / 0.5594 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3108, allocations: 0.5503 MB / 0.5599 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.3109, allocations: 0 / 0.5599 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.3111, allocations: 27.84 kB / 0.5599 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.3114, allocations: 83.61 kB / 0.56 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3116, allocations: 87.77 kB / 0.5601 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.3118, allocations: 63.83 kB / 0.5602 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.3119, allocations: 15.94 kB / 0.5602 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.643e-05/0.312, allocations: 23.86 kB / 0.5602 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.312, allocations: 23.86 kB / 0.5602 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.312, allocations: 4 kB / 0.5602 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.511e-05/0.3121, allocations: 35.97 kB / 0.5603 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.3122, allocations: 15.88 kB / 0.5603 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.3122, allocations: 27.8 kB / 0.5603 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.3124, allocations: 91.53 kB / 0.5604 GB, free: 5.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3124, allocations: 0 / 0.5604 GB, free: 5.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3124, allocations: 0 / 0.5604 GB, free: 5.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3124, allocations: 0 / 0.5604 GB, free: 5.117 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.0004734/0.3129, allocations: 317.8 kB / 0.5607 GB, free: 4.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3129, allocations: 12.03 kB / 0.5607 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.071e-05/0.313, allocations: 8.188 kB / 0.5607 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.313, allocations: 30.75 kB / 0.5607 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.313, allocations: 16.83 kB / 0.5608 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.3132, allocations: 136.6 kB / 0.5609 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3132, allocations: 3.938 kB / 0.5609 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3132, allocations: 0 / 0.5609 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3134, allocations: 57.62 kB / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3134, allocations: 0 / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.3134, allocations: 0 / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3134, allocations: 0 / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.687e-05/0.3135, allocations: 27.97 kB / 0.561 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.3139, allocations: 251.9 kB / 0.5612 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.3141, allocations: 46.5 kB / 0.5613 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.3141, allocations: 16.94 kB / 0.5613 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.3141, allocations: 3.984 kB / 0.5613 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.3142, allocations: 34.56 kB / 0.5613 GB, free: 4.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3142, allocations: 0 / 0.5613 GB, free: 4.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005426/0.3147, allocations: 145.4 kB / 0.5615 GB, free: 3.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.3147, allocations: 55.34 kB / 0.5615 GB, free: 3.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.3149, allocations: 178.1 kB / 0.5617 GB, free: 3.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.315, allocations: 33.69 kB / 0.5617 GB, free: 3.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.315, allocations: 96.08 kB / 0.5618 GB, free: 3.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.315, allocations: 15.89 kB / 0.5618 GB, free: 3.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.3151, allocations: 17.72 kB / 0.5618 GB, free: 3.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3152, allocations: 322.8 kB / 0.5621 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.3153, allocations: 23.98 kB / 0.5622 GB, free: 3.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.948e-05/0.3154, allocations: 11.98 kB / 0.5622 GB, free: 3.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.3155, allocations: 44.84 kB / 0.5622 GB, free: 3.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3155, allocations: 3.984 kB / 0.5622 GB, free: 3.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001947/0.3157, allocations: 85.77 kB / 0.5623 GB, free: 2.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3157, allocations: 8 kB / 0.5623 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3157, allocations: 0 / 0.5623 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3157, allocations: 8 kB / 0.5623 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.818e-05/0.3158, allocations: 11.98 kB / 0.5623 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3158, allocations: 7.875 kB / 0.5623 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.3158, allocations: 4 kB / 0.5623 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.3159, allocations: 4 kB / 0.5623 GB, free: 2.922 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 (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 9.91e-05/0.316, allocations: 121.8 kB / 0.5625 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.316, allocations: 7.953 kB / 0.5625 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.3162, allocations: 94 kB / 0.5626 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3162, allocations: 0 / 0.5626 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3163, allocations: 3.938 kB / 0.5626 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3163, allocations: 4 kB / 0.5626 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.3167, allocations: 313.6 kB / 0.5629 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3167, allocations: 0 / 0.5629 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.3168, allocations: 23.92 kB / 0.5629 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3168, allocations: 7.875 kB / 0.5629 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3168, allocations: 4 kB / 0.5629 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3168, allocations: 0 / 0.5629 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3168, allocations: 0 / 0.5629 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.317, allocations: 171.5 kB / 0.5631 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.3171, allocations: 19.83 kB / 0.5631 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3171, allocations: 4 kB / 0.5631 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.3172, allocations: 4 kB / 0.5631 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.3172, allocations: 7.984 kB / 0.5631 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3172, allocations: 192 / 0.5631 GB, free: 2.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3173, allocations: 131.2 kB / 0.5632 GB, free: 1.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3173, allocations: 4 kB / 0.5632 GB, free: 1.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.3176, allocations: 15.94 kB / 0.5632 GB, free: 1.914 MB / 398.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.001968/0.3195, allocations: 1.025 MB / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.3197, allocations: 39.97 kB / 0.5643 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3197, allocations: 3.938 kB / 0.5643 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.419e-05/0.3198, allocations: 27.98 kB / 0.5643 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.3202, allocations: 19.36 kB / 0.5643 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.322, allocations: 1.494 MB / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3223, allocations: 0.7002 MB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.454e-05/0.3223, allocations: 16.06 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.3224, allocations: 23.42 kB / 0.5665 GB, free: 14.6 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3224, allocations: 0 / 0.5665 GB, free: 14.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.345, allocations: 2.833 MB / 0.5693 GB, free: 11.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.73, allocations: 8.062 kB / 0.5693 GB, free: 11.82 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.864076509024017]