Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001402/0.001402, 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.001625/0.001625, allocations: 216.5 kB / 24.52 MB, free: 3.91 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2331/0.2331, allocations: 44.93 MB / 359.6 MB, free: 6.07 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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",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.002051/0.002051, allocations: 59.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3299, allocations: 65.48 MB / 0.5577 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003059/0.3329, allocations: 1.577 MB / 0.5593 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.334, allocations: 0.527 MB / 0.5598 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.3341, allocations: 0 / 0.5598 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.3343, allocations: 23.84 kB / 0.5598 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.3346, allocations: 79.62 kB / 0.5599 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.3348, allocations: 83.77 kB / 0.56 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.335, allocations: 67.83 kB / 0.56 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3351, allocations: 9.828 kB / 0.5601 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.3352, allocations: 27.8 kB / 0.5601 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.3353, allocations: 31.84 kB / 0.5601 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.3353, allocations: 4 kB / 0.5601 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.201e-05/0.3353, allocations: 31.98 kB / 0.5601 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.3354, allocations: 11.94 kB / 0.5602 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.3354, allocations: 19.86 kB / 0.5602 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.3356, allocations: 83.66 kB / 0.5603 GB, free: 4.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3356, allocations: 3.938 kB / 0.5603 GB, free: 4.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3356, allocations: 0 / 0.5603 GB, free: 4.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3356, allocations: 0 / 0.5603 GB, free: 4.957 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004662/0.3361, allocations: 319.5 kB / 0.5606 GB, free: 4.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3361, allocations: 8.031 kB / 0.5606 GB, free: 4.609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.917e-05/0.3362, allocations: 4.188 kB / 0.5606 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.3362, allocations: 34.75 kB / 0.5606 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.3362, allocations: 8.891 kB / 0.5606 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.3364, allocations: 142.4 kB / 0.5608 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.3364, allocations: 384 / 0.5608 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.3364, allocations: 8.125 kB / 0.5608 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.3366, allocations: 41.69 kB / 0.5608 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3366, allocations: 0 / 0.5608 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3366, allocations: 8 kB / 0.5608 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3366, allocations: 0 / 0.5608 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.339e-05/0.3367, allocations: 27.92 kB / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.3371, allocations: 247.9 kB / 0.5611 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.3374, allocations: 38.56 kB / 0.5611 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.3374, allocations: 12.86 kB / 0.5611 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3374, allocations: 3.938 kB / 0.5611 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.3375, allocations: 34.66 kB / 0.5612 GB, free: 3.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3375, allocations: 0 / 0.5612 GB, free: 3.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005499/0.338, allocations: 149.3 kB / 0.5613 GB, free: 3.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.338, allocations: 55.41 kB / 0.5614 GB, free: 3.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.3382, allocations: 164.9 kB / 0.5615 GB, free: 3.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3382, allocations: 25.7 kB / 0.5615 GB, free: 3.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.3383, allocations: 108 kB / 0.5616 GB, free: 3.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.3383, allocations: 19.8 kB / 0.5617 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.3384, allocations: 17.72 kB / 0.5617 GB, free: 3.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3385, allocations: 322.8 kB / 0.562 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.3386, allocations: 19.98 kB / 0.562 GB, free: 2.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.3387, allocations: 19.98 kB / 0.562 GB, free: 2.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3388, allocations: 44.83 kB / 0.5621 GB, free: 2.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3388, allocations: 0 / 0.5621 GB, free: 2.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001813/0.339, allocations: 81.56 kB / 0.5621 GB, free: 2.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.339, allocations: 6.656 kB / 0.5621 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.339, allocations: 0 / 0.5621 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.339, allocations: 0 / 0.5621 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.3391, allocations: 19.98 kB / 0.5622 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3391, allocations: 3.938 kB / 0.5622 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.3391, allocations: 8.25 kB / 0.5622 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3391, allocations: 8.266 kB / 0.5622 GB, free: 2.797 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 (5): * Single equations (assignments): 5 * 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 8.807e-05/0.3392, allocations: 117.8 kB / 0.5623 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.3392, allocations: 7.953 kB / 0.5623 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.3395, allocations: 97.97 kB / 0.5624 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3395, allocations: 4 kB / 0.5624 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3395, allocations: 7.938 kB / 0.5624 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3395, allocations: 0 / 0.5624 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.3399, allocations: 313.6 kB / 0.5627 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3399, allocations: 0 / 0.5627 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.34, allocations: 15.98 kB / 0.5627 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.34, allocations: 3.938 kB / 0.5627 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.34, allocations: 0 / 0.5627 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.34, allocations: 3.938 kB / 0.5627 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.34, allocations: 0 / 0.5627 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.3402, allocations: 179.5 kB / 0.5629 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.3402, allocations: 11.88 kB / 0.5629 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3403, allocations: 4 kB / 0.5629 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.3403, allocations: 4 kB / 0.5629 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.3404, allocations: 7.984 kB / 0.5629 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.3404, allocations: 0 / 0.5629 GB, free: 1.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.3405, allocations: 128.7 kB / 0.5631 GB, free: 1.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3405, allocations: 0 / 0.5631 GB, free: 1.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3407, allocations: 19.95 kB / 0.5631 GB, free: 1.797 MB / 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 (5): * Single equations (assignments): 5 * 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.002041/0.3428, allocations: 1.052 MB / 0.5641 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.343, allocations: 43.97 kB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.343, allocations: 0 / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.837e-05/0.343, allocations: 27.92 kB / 0.5642 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3434, allocations: 15.86 kB / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.3454, allocations: 1.469 MB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.378e-05/0.3454, allocations: 75.33 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.918e-05/0.3455, allocations: 20.02 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.3456, allocations: 23.44 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3456, allocations: 0 / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.3684, allocations: 2.848 MB / 0.5685 GB, free: 12.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.92, allocations: 10.28 kB / 0.5685 GB, free: 12.34 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.095826618024148]