Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001329/0.001329, 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.001587/0.001587, allocations: 211 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.452/1.452, 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.2341/0.2341, allocations: 44.94 MB / 358.9 MB, free: 6.023 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",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.002069/0.002069, allocations: 75.88 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3029, allocations: 65.46 MB / 0.557 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002954/0.3058, allocations: 1.647 MB / 0.5586 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3077, allocations: 1.244 MB / 0.5598 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.3077, allocations: 0 / 0.5598 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.3079, allocations: 19.84 kB / 0.5598 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.3082, allocations: 95.55 kB / 0.5599 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.3085, allocations: 123.5 kB / 0.56 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.3086, allocations: 83.7 kB / 0.5601 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.594e-05/0.3087, allocations: 13.81 kB / 0.5601 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.944e-05/0.3087, allocations: 31.86 kB / 0.5602 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.3088, allocations: 35.83 kB / 0.5602 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3089, allocations: 4 kB / 0.5602 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.309, allocations: 95.88 kB / 0.5603 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.3091, allocations: 19.92 kB / 0.5603 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.3091, allocations: 15.88 kB / 0.5603 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.3094, allocations: 151.5 kB / 0.5605 GB, free: 3.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3094, allocations: 0 / 0.5605 GB, free: 3.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.3094, allocations: 3.984 kB / 0.5605 GB, free: 3.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3094, allocations: 0 / 0.5605 GB, free: 3.777 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005168/0.3099, allocations: 349.5 kB / 0.5608 GB, free: 3.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3099, allocations: 8.031 kB / 0.5608 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.31, allocations: 34.75 kB / 0.5608 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.31, allocations: 8.891 kB / 0.5609 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.3102, allocations: 144.7 kB / 0.561 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.3102, allocations: 384 / 0.561 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.3102, allocations: 12.27 kB / 0.561 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.3104, allocations: 109 kB / 0.5611 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3104, allocations: 0 / 0.5611 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3105, allocations: 4 kB / 0.5611 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3105, allocations: 3.938 kB / 0.5611 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.3106, allocations: 35.97 kB / 0.5612 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.311, allocations: 251.9 kB / 0.5614 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3111, allocations: 42.64 kB / 0.5614 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.3112, allocations: 32.77 kB / 0.5615 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3112, allocations: 0 / 0.5615 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.3112, allocations: 38.56 kB / 0.5615 GB, free: 2.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.3112, allocations: 4 kB / 0.5615 GB, free: 2.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008058/0.312, allocations: 209.3 kB / 0.5617 GB, free: 2.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.3121, allocations: 81.11 kB / 0.5618 GB, free: 2.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.3123, allocations: 160.1 kB / 0.5619 GB, free: 2.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.3123, allocations: 29.7 kB / 0.562 GB, free: 2.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.3124, allocations: 92.14 kB / 0.562 GB, free: 1.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.3124, allocations: 27.73 kB / 0.5621 GB, free: 1.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3125, allocations: 21.72 kB / 0.5621 GB, free: 1.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3126, allocations: 322.8 kB / 0.5624 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.3127, allocations: 31.97 kB / 0.5624 GB, free: 1.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.3129, allocations: 75.39 kB / 0.5625 GB, free: 1.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.3131, allocations: 76.83 kB / 0.5626 GB, free: 1.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3131, allocations: 4 kB / 0.5626 GB, free: 1.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002995/0.3134, allocations: 113.5 kB / 0.5627 GB, free: 1.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3134, allocations: 4 kB / 0.5627 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3134, allocations: 0 / 0.5627 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3134, allocations: 4 kB / 0.5627 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.3136, allocations: 19.98 kB / 0.5627 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3136, allocations: 0 / 0.5627 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.966e-05/0.3136, allocations: 15.92 kB / 0.5627 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.3136, allocations: 0 / 0.5627 GB, free: 1.234 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 (7): * Single equations (assignments): 7 * 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.0001001/0.3137, allocations: 121.8 kB / 0.5628 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.3138, allocations: 7.953 kB / 0.5629 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.3141, allocations: 130.3 kB / 0.563 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3142, allocations: 0 / 0.563 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3142, allocations: 7.938 kB / 0.563 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3142, allocations: 3.938 kB / 0.563 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000569/0.3147, allocations: 353.9 kB / 0.5633 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3147, allocations: 8 kB / 0.5633 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-05/0.3148, allocations: 15.98 kB / 0.5634 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3148, allocations: 4 kB / 0.5634 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3148, allocations: 11.92 kB / 0.5634 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3148, allocations: 0 / 0.5634 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3148, allocations: 80 / 0.5634 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.3152, allocations: 207.4 kB / 0.5636 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.3152, allocations: 15.94 kB / 0.5636 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.3152, allocations: 3.938 kB / 0.5636 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.3154, allocations: 11.98 kB / 0.5636 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.3154, allocations: 4 kB / 0.5636 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.3154, allocations: 7.938 kB / 0.5636 GB, free: 256 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.3155, allocations: 126 kB / 0.5637 GB, free: 132 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3155, allocations: 0 / 0.5637 GB, free: 132 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.3158, allocations: 43.86 kB / 0.5638 GB, free: 88 kB / 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 (7): * Single equations (assignments): 7 * 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.002481/0.3183, allocations: 1.158 MB / 0.5649 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.3186, allocations: 83.86 kB / 0.565 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3186, allocations: 0 / 0.565 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.3187, allocations: 47.95 kB / 0.565 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.319, allocations: 26.56 kB / 0.5651 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.3212, allocations: 1.586 MB / 0.5666 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.473e-05/0.3213, allocations: 87.66 kB / 0.5667 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.103e-05/0.3214, allocations: 16.67 kB / 0.5667 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.3214, allocations: 31.41 kB / 0.5667 GB, free: 13.16 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3214, allocations: 192 / 0.5667 GB, free: 13.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.3532, allocations: 4.122 MB / 0.5708 GB, free: 9.055 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.76, allocations: 13.33 kB / 0.5708 GB, free: 9.047 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.721015742048621]