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.001708/0.001708, allocations: 111.8 kB / 20.43 MB, free: 1.473 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.002079/0.002079, allocations: 214 kB / 23.74 MB, free: 4.688 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.242/0.242, allocations: 44.91 MB / 358.8 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",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.002174/0.002174, allocations: 63.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3087, allocations: 65.48 MB / 0.557 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003375/0.312, allocations: 1.939 MB / 0.5589 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.3138, allocations: 1.01 MB / 0.5599 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.849e-05/0.3139, allocations: 3.938 kB / 0.5599 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.3144, allocations: 251.2 kB / 0.5602 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004986/0.3149, allocations: 263.1 kB / 0.5604 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.3159, allocations: 473.8 kB / 0.5609 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.3163, allocations: 303.2 kB / 0.5612 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3165, allocations: 34.75 kB / 0.5612 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.3167, allocations: 139.4 kB / 0.5613 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.317, allocations: 223.2 kB / 0.5615 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.317, allocations: 8 kB / 0.5615 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.3171, allocations: 51.98 kB / 0.5616 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.3172, allocations: 91.61 kB / 0.5617 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.3173, allocations: 119 kB / 0.5618 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.3177, allocations: 302.4 kB / 0.5621 GB, free: 2.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3177, allocations: 0 / 0.5621 GB, free: 2.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3177, allocations: 0 / 0.5621 GB, free: 2.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3177, allocations: 0 / 0.5621 GB, free: 2.469 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.0008007/0.3185, allocations: 0.5972 MB / 0.5627 GB, free: 1.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3185, allocations: 8.031 kB / 0.5627 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.3186, allocations: 42.69 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.3187, allocations: 40.66 kB / 0.5628 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.319, allocations: 276.7 kB / 0.563 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-06/0.319, allocations: 4.312 kB / 0.563 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.3191, allocations: 8.375 kB / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.3192, allocations: 88.56 kB / 0.5631 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3193, allocations: 3.938 kB / 0.5631 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.3193, allocations: 4 kB / 0.5631 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3193, allocations: 3.984 kB / 0.5631 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.3194, allocations: 47.97 kB / 0.5632 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.32, allocations: 431.5 kB / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.3201, allocations: 46.56 kB / 0.5636 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.423e-05/0.3202, allocations: 32.97 kB / 0.5637 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.3202, allocations: 0 / 0.5637 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3203, allocations: 38.5 kB / 0.5637 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3203, allocations: 0 / 0.5637 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003305/0.3206, allocations: 133.4 kB / 0.5638 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.3206, allocations: 55.34 kB / 0.5639 GB, free: 492 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.3213, allocations: 0.5877 MB / 0.5644 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3213, allocations: 25.7 kB / 0.5645 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.3215, allocations: 212.1 kB / 0.5647 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.3215, allocations: 19.86 kB / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.3216, allocations: 25.7 kB / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3217, allocations: 350.8 kB / 0.5651 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.3218, allocations: 15.98 kB / 0.5651 GB, free: 15.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.018e-05/0.3219, allocations: 19.98 kB / 0.5651 GB, free: 15.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.322, allocations: 56.78 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.322, allocations: 0 / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002132/0.3222, allocations: 113.4 kB / 0.5652 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3222, allocations: 8 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3222, allocations: 0 / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3222, allocations: 3.938 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.3223, allocations: 8 kB / 0.5653 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3223, allocations: 7.984 kB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.3224, allocations: 11.89 kB / 0.5653 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.3224, allocations: 448 / 0.5653 GB, free: 14.99 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.0001652/0.3226, allocations: 173.8 kB / 0.5655 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.3226, allocations: 39.72 kB / 0.5655 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.3229, allocations: 141.1 kB / 0.5656 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3229, allocations: 7.938 kB / 0.5656 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.3229, allocations: 0 / 0.5656 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3229, allocations: 3.938 kB / 0.5656 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.3232, allocations: 268.5 kB / 0.5659 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3232, allocations: 0 / 0.5659 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.724e-05/0.3233, allocations: 15.98 kB / 0.5659 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.3233, allocations: 4 kB / 0.5659 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3233, allocations: 0 / 0.5659 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3233, allocations: 7.875 kB / 0.5659 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3233, allocations: 0 / 0.5659 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.3236, allocations: 211.2 kB / 0.5661 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.3237, allocations: 39.73 kB / 0.5662 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.3237, allocations: 12 kB / 0.5662 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.962e-05/0.3238, allocations: 3.938 kB / 0.5662 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.3238, allocations: 7.984 kB / 0.5662 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3238, allocations: 0 / 0.5662 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004953/0.3243, allocations: 443.1 kB / 0.5666 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3243, allocations: 0 / 0.5666 GB, free: 13.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.3246, allocations: 35.89 kB / 0.5666 GB, free: 13.52 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.002873/0.3275, allocations: 1.254 MB / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.3276, allocations: 43.98 kB / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3276, allocations: 0 / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.564e-05/0.3277, allocations: 27.92 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.3282, allocations: 82.22 kB / 0.568 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.3318, allocations: 2.841 MB / 0.5708 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.3322, allocations: 0.7983 MB / 0.5716 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.3323, allocations: 45.58 kB / 0.5716 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.3325, allocations: 111.4 kB / 0.5717 GB, free: 8.473 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3325, allocations: 0 / 0.5717 GB, free: 8.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.3655, allocations: 6.953 MB / 0.5785 GB, free: 1.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12, allocations: 7.984 kB / 0.5785 GB, free: 1.566 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.135313466191292]