Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001688/0.001688, allocations: 113 kB / 18.49 MB, free: 4.539 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.002089/0.002089, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.525/1.525, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2451/0.2451, allocations: 44.91 MB / 355.8 MB, free: 12.29 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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",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.002057/0.002057, allocations: 67.91 kB / 0.4886 GB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1414, allocations: 65.42 MB / 0.5525 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.004707/0.1461, allocations: 1.66 MB / 0.5541 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1476, allocations: 0.5649 MB / 0.5546 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.472e-05/0.1477, allocations: 4 kB / 0.5546 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.148, allocations: 87.73 kB / 0.5547 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004488/0.1485, allocations: 119.6 kB / 0.5548 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.1489, allocations: 115.7 kB / 0.5549 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.1491, allocations: 107.7 kB / 0.5551 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1493, allocations: 23.92 kB / 0.5551 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.222e-05/0.1493, allocations: 43.84 kB / 0.5551 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1495, allocations: 67.8 kB / 0.5552 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1495, allocations: 4 kB / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1496, allocations: 55.97 kB / 0.5552 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.1497, allocations: 31.8 kB / 0.5553 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.1497, allocations: 39.69 kB / 0.5553 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1499, allocations: 131.5 kB / 0.5554 GB, free: 7.023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1499, allocations: 7.938 kB / 0.5554 GB, free: 7.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1499, allocations: 0 / 0.5554 GB, free: 7.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1499, allocations: 0 / 0.5554 GB, free: 7.016 MB / 414.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.0006061/0.1506, allocations: 438.6 kB / 0.5559 GB, free: 6.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1506, allocations: 8.031 kB / 0.5559 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.732e-05/0.1506, allocations: 4.188 kB / 0.5559 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.1506, allocations: 38.69 kB / 0.5559 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.1507, allocations: 20.84 kB / 0.5559 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.1509, allocations: 204.1 kB / 0.5561 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.151, allocations: 4.375 kB / 0.5561 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.151, allocations: 12.12 kB / 0.5561 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.1512, allocations: 65.67 kB / 0.5562 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1512, allocations: 7.953 kB / 0.5562 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1512, allocations: 0 / 0.5562 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1512, allocations: 4 kB / 0.5562 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.1514, allocations: 47.89 kB / 0.5563 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.1519, allocations: 348.7 kB / 0.5566 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.152, allocations: 70.48 kB / 0.5567 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.294e-05/0.1521, allocations: 28.84 kB / 0.5567 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1521, allocations: 4 kB / 0.5567 GB, free: 5.574 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1522, allocations: 30.56 kB / 0.5567 GB, free: 5.535 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1522, allocations: 0 / 0.5567 GB, free: 5.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001154/0.1533, allocations: 337.1 kB / 0.557 GB, free: 5.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.1533, allocations: 55.41 kB / 0.5571 GB, free: 5.133 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.1536, allocations: 243.4 kB / 0.5573 GB, free: 4.879 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1536, allocations: 33.58 kB / 0.5574 GB, free: 4.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/0.1537, allocations: 116 kB / 0.5575 GB, free: 4.723 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.1537, allocations: 43.64 kB / 0.5575 GB, free: 4.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.1538, allocations: 25.72 kB / 0.5575 GB, free: 4.648 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1539, allocations: 322.8 kB / 0.5578 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.1541, allocations: 47.97 kB / 0.5579 GB, free: 4.277 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.1542, allocations: 51.47 kB / 0.5579 GB, free: 4.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.1544, allocations: 108.8 kB / 0.558 GB, free: 4.121 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1544, allocations: 0 / 0.558 GB, free: 4.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003084/0.1547, allocations: 157.7 kB / 0.5582 GB, free: 3.961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1547, allocations: 11.94 kB / 0.5582 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1547, allocations: 0 / 0.5582 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1547, allocations: 3.984 kB / 0.5582 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.1549, allocations: 31.92 kB / 0.5582 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1549, allocations: 0 / 0.5582 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.1549, allocations: 7.984 kB / 0.5582 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.155, allocations: 4 kB / 0.5582 GB, free: 3.902 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.0001183/0.1551, allocations: 136 kB / 0.5584 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.1551, allocations: 19.84 kB / 0.5584 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.1555, allocations: 191.7 kB / 0.5586 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1555, allocations: 4 kB / 0.5586 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1555, allocations: 0 / 0.5586 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1555, allocations: 3.984 kB / 0.5586 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007166/0.1563, allocations: 0.4913 MB / 0.5591 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1563, allocations: 8.031 kB / 0.5591 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.955e-05/0.1564, allocations: 31.92 kB / 0.5591 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1564, allocations: 0 / 0.5591 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1564, allocations: 8 kB / 0.5591 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1564, allocations: 0 / 0.5591 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1564, allocations: 0 / 0.5591 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.1568, allocations: 264.1 kB / 0.5594 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.1568, allocations: 89.02 kB / 0.5594 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1568, allocations: 0 / 0.5594 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.1569, allocations: 4 kB / 0.5595 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.157, allocations: 11.98 kB / 0.5595 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.157, allocations: 4 kB / 0.5595 GB, free: 2.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.1571, allocations: 181.2 kB / 0.5596 GB, free: 2.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1571, allocations: 0 / 0.5596 GB, free: 2.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.1574, allocations: 35.81 kB / 0.5597 GB, free: 2.332 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.002453/0.1599, allocations: 1.147 MB / 0.5608 GB, free: 1.344 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003484/0.1602, allocations: 107.9 kB / 0.5609 GB, free: 1.238 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1602, allocations: 4 kB / 0.5609 GB, free: 1.234 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.1604, allocations: 51.91 kB / 0.561 GB, free: 1.184 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.1608, allocations: 29.11 kB / 0.561 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.1635, allocations: 1.926 MB / 0.5629 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1638, allocations: 0.7236 MB / 0.5636 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.825e-05/0.1639, allocations: 28.52 kB / 0.5636 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.191e-05/0.164, allocations: 47.42 kB / 0.5636 GB, free: 14.32 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.164, allocations: 0 / 0.5636 GB, free: 14.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.1837, allocations: 3.684 MB / 0.5672 GB, free: 10.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.493, allocations: 3.938 kB / 0.5672 GB, free: 10.69 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.865895963972434]