Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001316/0.001316, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001479/0.001479, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.493/1.493, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2224/0.2224, allocations: 44.91 MB / 355.8 MB, free: 12.32 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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",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.003187/0.003187, allocations: 63.91 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1461, allocations: 65.42 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003989/0.1501, allocations: 1.624 MB / 0.554 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1514, allocations: 0.5494 MB / 0.5546 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.1514, allocations: 0 / 0.5546 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.1518, allocations: 115.6 kB / 0.5547 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003928/0.1522, allocations: 115.6 kB / 0.5548 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.1526, allocations: 115.7 kB / 0.5549 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.1528, allocations: 91.73 kB / 0.555 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.153, allocations: 19.92 kB / 0.555 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.844e-05/0.153, allocations: 35.91 kB / 0.5551 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.1532, allocations: 79.72 kB / 0.5551 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1532, allocations: 3.938 kB / 0.5551 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1533, allocations: 51.97 kB / 0.5552 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.1534, allocations: 23.92 kB / 0.5552 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.1534, allocations: 39.69 kB / 0.5552 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.1537, allocations: 111.5 kB / 0.5554 GB, free: 7.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1537, allocations: 0 / 0.5554 GB, free: 7.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1537, allocations: 0 / 0.5554 GB, free: 7.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1537, allocations: 4 kB / 0.5554 GB, free: 7.133 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006022/0.1543, allocations: 434.5 kB / 0.5558 GB, free: 6.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1544, allocations: 8.031 kB / 0.5558 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.065e-05/0.1544, allocations: 192 / 0.5558 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.1544, allocations: 42.75 kB / 0.5558 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.1545, allocations: 8.891 kB / 0.5558 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1547, allocations: 208.9 kB / 0.556 GB, free: 6.348 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1547, allocations: 4.375 kB / 0.556 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.1547, allocations: 8.062 kB / 0.556 GB, free: 6.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1549, allocations: 61.67 kB / 0.5561 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1549, allocations: 3.953 kB / 0.5561 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.1549, allocations: 0 / 0.5561 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1549, allocations: 0 / 0.5561 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.155, allocations: 31.91 kB / 0.5561 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.1555, allocations: 312.8 kB / 0.5564 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.1556, allocations: 46.55 kB / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.1556, allocations: 24.88 kB / 0.5565 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1556, allocations: 0 / 0.5565 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1557, allocations: 34.56 kB / 0.5565 GB, free: 5.754 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.1557, allocations: 0 / 0.5565 GB, free: 5.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009627/0.1566, allocations: 249.1 kB / 0.5568 GB, free: 5.504 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.1567, allocations: 55.34 kB / 0.5568 GB, free: 5.438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.157, allocations: 258.1 kB / 0.5571 GB, free: 5.176 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.157, allocations: 25.7 kB / 0.5571 GB, free: 5.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.1571, allocations: 112.1 kB / 0.5572 GB, free: 5.031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.1571, allocations: 27.75 kB / 0.5572 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.1572, allocations: 21.7 kB / 0.5572 GB, free: 4.977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1574, allocations: 322.8 kB / 0.5576 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.904e-05/0.1574, allocations: 27.98 kB / 0.5576 GB, free: 4.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-05/0.1575, allocations: 39.97 kB / 0.5576 GB, free: 4.586 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.1577, allocations: 80.81 kB / 0.5577 GB, free: 4.504 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1577, allocations: 0 / 0.5577 GB, free: 4.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002349/0.1579, allocations: 109.6 kB / 0.5578 GB, free: 4.391 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.158, allocations: 6.188 kB / 0.5578 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.158, allocations: 0 / 0.5578 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.158, allocations: 4 kB / 0.5578 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1581, allocations: 19.98 kB / 0.5578 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1581, allocations: 4.25 kB / 0.5578 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.1581, allocations: 8 kB / 0.5578 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.1582, allocations: 4 kB / 0.5578 GB, free: 4.348 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.0001176/0.1583, allocations: 136 kB / 0.558 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.1583, allocations: 15.91 kB / 0.558 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.1586, allocations: 131 kB / 0.5581 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1586, allocations: 4 kB / 0.5581 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1586, allocations: 3.938 kB / 0.5581 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1586, allocations: 0 / 0.5581 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.1592, allocations: 431.2 kB / 0.5585 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1593, allocations: 3.938 kB / 0.5585 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.714e-05/0.1593, allocations: 23.92 kB / 0.5586 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1593, allocations: 32 / 0.5586 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1593, allocations: 11.94 kB / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1593, allocations: 4 kB / 0.5586 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1593, allocations: 0 / 0.5586 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.1596, allocations: 212.2 kB / 0.5588 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.1597, allocations: 92.98 kB / 0.5589 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1597, allocations: 8 kB / 0.5589 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.1598, allocations: 4 kB / 0.5589 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.1598, allocations: 11.97 kB / 0.5589 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.1598, allocations: 4 kB / 0.5589 GB, free: 3.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.16, allocations: 192.4 kB / 0.5591 GB, free: 2.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.16, allocations: 3.938 kB / 0.5591 GB, free: 2.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1603, allocations: 19.94 kB / 0.5591 GB, free: 2.945 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.002303/0.1626, allocations: 1.1 MB / 0.5602 GB, free: 2.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.1628, allocations: 71.89 kB / 0.5602 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/0.1628, allocations: 4 kB / 0.5602 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.1629, allocations: 40.05 kB / 0.5603 GB, free: 1.891 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1633, allocations: 22.75 kB / 0.5603 GB, free: 1.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.1656, allocations: 1.815 MB / 0.5621 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.166, allocations: 0.7197 MB / 0.5628 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.885e-05/0.166, allocations: 20.66 kB / 0.5628 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.1661, allocations: 39.42 kB / 0.5628 GB, free: 15.16 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1661, allocations: 4 kB / 0.5628 GB, free: 15.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.1847, allocations: 3.398 MB / 0.5662 GB, free: 11.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.478/8.662, allocations: 5 kB / 0.5662 GB, free: 11.82 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.834088516014162]