Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001746/0.001746, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002364/0.002364, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 7.762 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.2402/0.2402, allocations: 44.93 MB / 359.6 MB, free: 6.055 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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",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.002395/0.002395, allocations: 63.89 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3063, allocations: 65.47 MB / 0.5577 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003122/0.3095, allocations: 1.669 MB / 0.5594 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3105, allocations: 0.5622 MB / 0.5599 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.3106, allocations: 0 / 0.5599 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.3112, allocations: 463.1 kB / 0.5604 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004553/0.3116, allocations: 287.3 kB / 0.5606 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.312, allocations: 178.9 kB / 0.5608 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.3123, allocations: 179.6 kB / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3124, allocations: 22.05 kB / 0.561 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3125, allocations: 107.8 kB / 0.5611 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.3128, allocations: 255.5 kB / 0.5614 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.3129, allocations: 4 kB / 0.5614 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.313, allocations: 59.91 kB / 0.5614 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3131, allocations: 83.69 kB / 0.5615 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.04e-05/0.3132, allocations: 71.19 kB / 0.5616 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.3136, allocations: 290.5 kB / 0.5618 GB, free: 3.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3136, allocations: 0 / 0.5618 GB, free: 3.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3136, allocations: 0 / 0.5618 GB, free: 3.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.3136, allocations: 0 / 0.5618 GB, free: 3.336 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.0008009/0.3144, allocations: 0.6047 MB / 0.5624 GB, free: 2.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3144, allocations: 8.031 kB / 0.5624 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.531e-05/0.3144, allocations: 4.188 kB / 0.5624 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.3145, allocations: 34.75 kB / 0.5625 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.684e-05/0.3145, allocations: 48.64 kB / 0.5625 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.3148, allocations: 246.8 kB / 0.5628 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3148, allocations: 4.375 kB / 0.5628 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.3149, allocations: 8.125 kB / 0.5628 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.315, allocations: 61.61 kB / 0.5628 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3151, allocations: 8 kB / 0.5628 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3151, allocations: 0 / 0.5628 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3151, allocations: 0 / 0.5628 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.3152, allocations: 35.97 kB / 0.5629 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005457/0.3157, allocations: 379.6 kB / 0.5632 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.3159, allocations: 46.55 kB / 0.5633 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.3159, allocations: 16.94 kB / 0.5633 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.3159, allocations: 0 / 0.5633 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.316, allocations: 38.56 kB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.316, allocations: 4 kB / 0.5633 GB, free: 1.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001013/0.317, allocations: 328.5 kB / 0.5636 GB, free: 1.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.317, allocations: 59.33 kB / 0.5637 GB, free: 1.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/0.3179, allocations: 0.8699 MB / 0.5645 GB, free: 400 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.318, allocations: 33.7 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.3182, allocations: 224.1 kB / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.3182, allocations: 31.73 kB / 0.5648 GB, free: 100 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.3182, allocations: 25.66 kB / 0.5648 GB, free: 68 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3184, allocations: 362.8 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.844e-05/0.3185, allocations: 31.97 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.3186, allocations: 27.98 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.3188, allocations: 80.8 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3188, allocations: 0 / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000281/0.319, allocations: 157.3 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3191, allocations: 4 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3191, allocations: 4 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3191, allocations: 3.938 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3192, allocations: 15.98 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3192, allocations: 0 / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.578e-05/0.3193, allocations: 8 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.3193, allocations: 4 kB / 0.5655 GB, free: 15.36 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.0002113/0.3195, allocations: 217.8 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.3196, allocations: 43.72 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.3199, allocations: 181.7 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3199, allocations: 3.938 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3199, allocations: 0 / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3199, allocations: 3.984 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007015/0.3206, allocations: 0.4904 MB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3206, allocations: 0 / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.3207, allocations: 15.98 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.3207, allocations: 4 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3207, allocations: 0 / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3207, allocations: 0 / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3207, allocations: 0 / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.3211, allocations: 259.9 kB / 0.5667 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.3211, allocations: 39.67 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.3212, allocations: 12.02 kB / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.529e-05/0.3213, allocations: 7.938 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.3213, allocations: 3.984 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3213, allocations: 8 kB / 0.5668 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006964/0.322, allocations: 0.6589 MB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.322, allocations: 4 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.3223, allocations: 27.94 kB / 0.5674 GB, free: 13.3 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.0023/0.3246, allocations: 1.174 MB / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.3248, allocations: 71.95 kB / 0.5687 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3248, allocations: 0 / 0.5687 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3249, allocations: 47.91 kB / 0.5687 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.3253, allocations: 26.94 kB / 0.5687 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.3295, allocations: 3.404 MB / 0.572 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3297, allocations: 232.7 kB / 0.5723 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.139e-05/0.3298, allocations: 16.42 kB / 0.5723 GB, free: 8.418 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3299, allocations: 123.4 kB / 0.5724 GB, free: 8.297 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3299, allocations: 0 / 0.5724 GB, free: 8.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.3569, allocations: 6.724 MB / 0.579 GB, free: 1.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.46, allocations: 4.062 kB / 0.579 GB, free: 1.633 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.650825188029557]