Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001748/0.001748, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002288/0.002288, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2356/0.2356, allocations: 44.93 MB / 358.8 MB, free: 6.273 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",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.00224/0.00224, allocations: 59.91 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3037, allocations: 65.49 MB / 0.5571 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003053/0.3068, allocations: 1.686 MB / 0.5587 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3078, allocations: 0.5738 MB / 0.5593 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.3079, allocations: 0 / 0.5593 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.3085, allocations: 459.1 kB / 0.5597 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.309, allocations: 295.3 kB / 0.56 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.3093, allocations: 123.7 kB / 0.5601 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.3095, allocations: 175.7 kB / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.3096, allocations: 17.77 kB / 0.5603 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.3098, allocations: 111.8 kB / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.3101, allocations: 255.5 kB / 0.5606 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.3101, allocations: 4 kB / 0.5606 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3102, allocations: 51.97 kB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3103, allocations: 87.62 kB / 0.5608 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.035e-05/0.3104, allocations: 107 kB / 0.5609 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.3107, allocations: 278.5 kB / 0.5611 GB, free: 3.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3107, allocations: 0 / 0.5611 GB, free: 3.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.3107, allocations: 4 kB / 0.5611 GB, free: 3.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.3108, allocations: 0 / 0.5611 GB, free: 3.559 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.0008154/0.3116, allocations: 0.597 MB / 0.5617 GB, free: 2.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3116, allocations: 8.031 kB / 0.5617 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.3117, allocations: 42.73 kB / 0.5618 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/0.3117, allocations: 40.66 kB / 0.5618 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.312, allocations: 246.7 kB / 0.562 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.312, allocations: 8.375 kB / 0.5621 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.3121, allocations: 4.375 kB / 0.5621 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3122, allocations: 61.61 kB / 0.5621 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3122, allocations: 0 / 0.5621 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.3122, allocations: 4 kB / 0.5621 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.3122, allocations: 4 kB / 0.5621 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.3123, allocations: 31.86 kB / 0.5622 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.3129, allocations: 375.7 kB / 0.5625 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.313, allocations: 42.59 kB / 0.5626 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.313, allocations: 24.94 kB / 0.5626 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.313, allocations: 0 / 0.5626 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3131, allocations: 34.56 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3131, allocations: 0 / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009985/0.3141, allocations: 316.6 kB / 0.5629 GB, free: 1.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3141, allocations: 59.33 kB / 0.563 GB, free: 1.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009458/0.3151, allocations: 0.8738 MB / 0.5638 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3151, allocations: 25.7 kB / 0.5638 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.3153, allocations: 220.1 kB / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.3153, allocations: 35.72 kB / 0.5641 GB, free: 368 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.3153, allocations: 21.72 kB / 0.5641 GB, free: 340 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3155, allocations: 366.8 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.3156, allocations: 27.92 kB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.3157, allocations: 19.98 kB / 0.5645 GB, free: 15.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3158, allocations: 64.83 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3158, allocations: 4 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002409/0.3161, allocations: 133.6 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3161, allocations: 8 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3161, allocations: 0 / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3161, allocations: 0 / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3162, allocations: 27.86 kB / 0.5647 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3162, allocations: 0 / 0.5647 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.3163, allocations: 8 kB / 0.5647 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3163, allocations: 4 kB / 0.5647 GB, free: 15.66 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 (8): * Single equations (assignments): 8 * 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.0002226/0.3165, allocations: 213.8 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.3166, allocations: 51.67 kB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.3169, allocations: 153.5 kB / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.3169, allocations: 7.938 kB / 0.5652 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3169, allocations: 0 / 0.5652 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3169, allocations: 0 / 0.5652 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.3176, allocations: 490.2 kB / 0.5656 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3176, allocations: 0 / 0.5656 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.578e-05/0.3177, allocations: 27.92 kB / 0.5656 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3177, allocations: 0 / 0.5656 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3177, allocations: 0 / 0.5656 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3177, allocations: 4 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3177, allocations: 0 / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.318, allocations: 251.9 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.3181, allocations: 39.7 kB / 0.5659 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.3181, allocations: 4 kB / 0.5659 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.3182, allocations: 7.938 kB / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.3182, allocations: 7.984 kB / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.3182, allocations: 4 kB / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006648/0.3189, allocations: 0.6589 MB / 0.5666 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3189, allocations: 4 kB / 0.5666 GB, free: 13.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.3192, allocations: 31.94 kB / 0.5666 GB, free: 13.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002246/0.3214, allocations: 1.131 MB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.3217, allocations: 67.89 kB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3217, allocations: 0 / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.3218, allocations: 35.98 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.3222, allocations: 35.92 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/0.3265, allocations: 3.326 MB / 0.5711 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.3271, allocations: 0.8304 MB / 0.5719 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.806e-05/0.3271, allocations: 16.72 kB / 0.5719 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.3273, allocations: 115.3 kB / 0.5721 GB, free: 8.125 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3273, allocations: 0 / 0.5721 GB, free: 8.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.361, allocations: 6.558 MB / 0.5785 GB, free: 1.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.14, allocations: 8 kB / 0.5785 GB, free: 1.629 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.15831880015321]