Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.00172/0.00172, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002069/0.002069, allocations: 202.2 kB / 24.52 MB, free: 4.156 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 / 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.2307/0.2307, allocations: 44.91 MB / 359.6 MB, free: 6.281 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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",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.002042/0.002042, allocations: 63.91 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3274, allocations: 65.48 MB / 0.5578 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003279/0.3307, allocations: 1.937 MB / 0.5597 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3326, allocations: 1.014 MB / 0.5607 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/0.3326, allocations: 4 kB / 0.5607 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.3331, allocations: 251.2 kB / 0.5609 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004833/0.3336, allocations: 259.1 kB / 0.5612 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3346, allocations: 473.9 kB / 0.5616 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.335, allocations: 299.1 kB / 0.5619 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.3352, allocations: 34.75 kB / 0.562 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.3353, allocations: 143.4 kB / 0.5621 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.3356, allocations: 215.2 kB / 0.5623 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.3356, allocations: 15.94 kB / 0.5623 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3358, allocations: 51.92 kB / 0.5624 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.3359, allocations: 91.66 kB / 0.5624 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.336, allocations: 119 kB / 0.5626 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.3364, allocations: 302.4 kB / 0.5628 GB, free: 2.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3364, allocations: 8 kB / 0.5629 GB, free: 2.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3364, allocations: 4 kB / 0.5629 GB, free: 2.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.3364, allocations: 0 / 0.5629 GB, free: 2.535 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008322/0.3372, allocations: 0.5855 MB / 0.5634 GB, free: 1.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3373, allocations: 12.03 kB / 0.5634 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.788e-05/0.3373, allocations: 4.188 kB / 0.5634 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.3373, allocations: 38.73 kB / 0.5635 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/0.3374, allocations: 44.66 kB / 0.5635 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.3378, allocations: 268.6 kB / 0.5638 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.3378, allocations: 8.375 kB / 0.5638 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.3378, allocations: 8.125 kB / 0.5638 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.338, allocations: 89.59 kB / 0.5639 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.338, allocations: 0 / 0.5639 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.338, allocations: 0 / 0.5639 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3381, allocations: 0 / 0.5639 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.3382, allocations: 55.91 kB / 0.5639 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.3389, allocations: 423.6 kB / 0.5643 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.339, allocations: 54.5 kB / 0.5644 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.299e-05/0.3391, allocations: 24.97 kB / 0.5644 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.3391, allocations: 7.969 kB / 0.5644 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3391, allocations: 34.56 kB / 0.5645 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.146e-06/0.3391, allocations: 3.984 kB / 0.5645 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003688/0.3395, allocations: 137.4 kB / 0.5646 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.3395, allocations: 51.41 kB / 0.5646 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007085/0.3402, allocations: 0.5916 MB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3403, allocations: 25.7 kB / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.3404, allocations: 212.1 kB / 0.5654 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.3405, allocations: 23.84 kB / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.3405, allocations: 17.72 kB / 0.5655 GB, free: 15.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3407, allocations: 354.8 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.3408, allocations: 15.98 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.528e-05/0.3408, allocations: 19.98 kB / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.3409, allocations: 49.22 kB / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3409, allocations: 0 / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002203/0.3412, allocations: 113.4 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3412, allocations: 8 kB / 0.566 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3412, allocations: 0 / 0.566 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3412, allocations: 15.81 kB / 0.566 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.171e-05/0.3413, allocations: 11.98 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3413, allocations: 4 kB / 0.5661 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.3414, allocations: 15.89 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.3414, allocations: 0 / 0.5661 GB, free: 15.05 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 (6): * Single equations (assignments): 6 * 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.0001642/0.3415, allocations: 165.8 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.3416, allocations: 43.72 kB / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.3419, allocations: 133.1 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3419, allocations: 11.94 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3419, allocations: 3.938 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3419, allocations: 3.984 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.3422, allocations: 260.6 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3422, allocations: 0 / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.3423, allocations: 11.98 kB / 0.5667 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3423, allocations: 4 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3423, allocations: 3.938 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3423, allocations: 0 / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3423, allocations: 0 / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.3426, allocations: 215.2 kB / 0.5669 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.3427, allocations: 39.75 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.3427, allocations: 11.92 kB / 0.5669 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.3428, allocations: 192 / 0.5669 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.3428, allocations: 7.938 kB / 0.5669 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.3428, allocations: 4 kB / 0.5669 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004964/0.3433, allocations: 447.1 kB / 0.5674 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3433, allocations: 4 kB / 0.5674 GB, free: 13.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000296/0.3436, allocations: 39.88 kB / 0.5674 GB, free: 13.59 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 (6): * Single equations (assignments): 6 * 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.002834/0.3465, allocations: 1.237 MB / 0.5686 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.3467, allocations: 59.84 kB / 0.5687 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3467, allocations: 0 / 0.5687 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.511e-05/0.3467, allocations: 23.98 kB / 0.5687 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.3473, allocations: 76.91 kB / 0.5688 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/0.3509, allocations: 2.851 MB / 0.5716 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.3513, allocations: 0.7983 MB / 0.5723 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.3514, allocations: 37.59 kB / 0.5724 GB, free: 8.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.3516, allocations: 115.4 kB / 0.5725 GB, free: 8.543 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3516, allocations: 3.938 kB / 0.5725 GB, free: 8.539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.3793, allocations: 6.986 MB / 0.5793 GB, free: 1.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.19, allocations: 4.062 kB / 0.5793 GB, free: 1.625 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.362032629025634]