Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.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.231/0.231, allocations: 44.91 MB / 349.6 MB, free: 1.727 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 59.41 kB / 491.8 MB, free: 30.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1473, allocations: 64.26 MB / 0.543 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003427/0.1507, allocations: 1.636 MB / 0.5446 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009013/0.1516, allocations: 415.5 kB / 0.545 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.1517, allocations: 0 / 0.545 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.152, allocations: 107.6 kB / 0.5451 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.1522, allocations: 75.78 kB / 0.5452 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.1526, allocations: 111.7 kB / 0.5453 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.1528, allocations: 95.7 kB / 0.5454 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1529, allocations: 27.92 kB / 0.5454 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.021e-05/0.153, allocations: 43.89 kB / 0.5455 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.1531, allocations: 71.69 kB / 0.5455 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.1531, allocations: 4 kB / 0.5455 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1532, allocations: 47.97 kB / 0.5456 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.321e-05/0.1533, allocations: 23.92 kB / 0.5456 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.1533, allocations: 39.69 kB / 0.5456 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.1536, allocations: 119.5 kB / 0.5458 GB, free: 1.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1536, allocations: 0 / 0.5458 GB, free: 1.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1536, allocations: 0 / 0.5458 GB, free: 1.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1536, allocations: 3.938 kB / 0.5458 GB, free: 1.387 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006767/0.1543, allocations: 434.6 kB / 0.5462 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1543, allocations: 8.031 kB / 0.5462 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.1544, allocations: 42.73 kB / 0.5462 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.1544, allocations: 8.891 kB / 0.5462 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.1547, allocations: 220 kB / 0.5464 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1547, allocations: 4.375 kB / 0.5464 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.1547, allocations: 4.375 kB / 0.5464 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1549, allocations: 77.55 kB / 0.5465 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.1549, allocations: 11.98 kB / 0.5465 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1549, allocations: 0 / 0.5465 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1549, allocations: 4 kB / 0.5465 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.1551, allocations: 39.97 kB / 0.5466 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.1556, allocations: 336.7 kB / 0.5469 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1558, allocations: 70.53 kB / 0.547 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.1558, allocations: 24.84 kB / 0.547 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1559, allocations: 0 / 0.547 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1559, allocations: 30.56 kB / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.478e-06/0.1559, allocations: 3.984 kB / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001098/0.157, allocations: 341.2 kB / 0.5473 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.157, allocations: 51.41 kB / 0.5474 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.1573, allocations: 231.6 kB / 0.5476 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1573, allocations: 25.7 kB / 0.5476 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.1574, allocations: 120 kB / 0.5478 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.1575, allocations: 43.64 kB / 0.5478 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.1575, allocations: 29.72 kB / 0.5478 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003474/0.1579, allocations: 326.8 kB / 0.5481 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.158, allocations: 43.97 kB / 0.5482 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-05/0.1581, allocations: 55.28 kB / 0.5482 GB, free: 14.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.1583, allocations: 100.8 kB / 0.5483 GB, free: 14.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1583, allocations: 0 / 0.5483 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002834/0.1586, allocations: 169.5 kB / 0.5485 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1586, allocations: 7.938 kB / 0.5485 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.1586, allocations: 3.938 kB / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1586, allocations: 0 / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1587, allocations: 27.98 kB / 0.5485 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1587, allocations: 0 / 0.5485 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.1588, allocations: 8 kB / 0.5485 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1588, allocations: 4 kB / 0.5485 GB, free: 14.3 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 (13): * Single equations (assignments): 13 * 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.0001259/0.1589, allocations: 137.8 kB / 0.5487 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.159, allocations: 15.91 kB / 0.5487 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.1594, allocations: 187.7 kB / 0.5489 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1594, allocations: 0 / 0.5489 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1594, allocations: 4 kB / 0.5489 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1594, allocations: 0 / 0.5489 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006681/0.16, allocations: 499.2 kB / 0.5493 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.16, allocations: 0 / 0.5493 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.823e-05/0.1601, allocations: 27.92 kB / 0.5494 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1601, allocations: 0 / 0.5494 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.1601, allocations: 8 kB / 0.5494 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1601, allocations: 3.938 kB / 0.5494 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1601, allocations: 3.984 kB / 0.5494 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.1605, allocations: 267.2 kB / 0.5496 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.1605, allocations: 96.94 kB / 0.5497 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1606, allocations: 0 / 0.5497 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.1606, allocations: 4 kB / 0.5497 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.1607, allocations: 11.98 kB / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1607, allocations: 8 kB / 0.5498 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.1608, allocations: 179.2 kB / 0.5499 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1608, allocations: 0 / 0.5499 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1611, allocations: 20 kB / 0.5499 GB, free: 12.75 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 (13): * Single equations (assignments): 13 * 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.002223/0.1633, allocations: 1.145 MB / 0.5511 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.1636, allocations: 103.9 kB / 0.5512 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1636, allocations: 0 / 0.5512 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1638, allocations: 63.91 kB / 0.5512 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.1641, allocations: 15.66 kB / 0.5512 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.1666, allocations: 1.893 MB / 0.5531 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.167, allocations: 0.7197 MB / 0.5538 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.256e-05/0.1671, allocations: 24.53 kB / 0.5538 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.97e-05/0.1672, allocations: 43.41 kB / 0.5539 GB, free: 8.805 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1672, allocations: 3.938 kB / 0.5539 GB, free: 8.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.1936, allocations: 3.558 MB / 0.5573 GB, free: 5.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.166, allocations: 13.09 kB / 0.5573 GB, free: 5.25 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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: 11.256110113114119]