Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.001813/0.001813, allocations: 114.3 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.002573/0.002573, allocations: 219 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.595/1.595, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.2364/0.2364, allocations: 44.91 MB / 355.8 MB, free: 12.3 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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",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.001994/0.001994, allocations: 63.89 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1589, allocations: 65.41 MB / 0.5524 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003994/0.1628, allocations: 1.614 MB / 0.554 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.1652, allocations: 1.175 MB / 0.5552 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1653, allocations: 4 kB / 0.5552 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.1656, allocations: 23.8 kB / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.1661, allocations: 83.61 kB / 0.5553 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.1665, allocations: 107.7 kB / 0.5554 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.1667, allocations: 67.78 kB / 0.5554 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1668, allocations: 19.92 kB / 0.5555 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.666e-05/0.1669, allocations: 31.84 kB / 0.5555 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.1671, allocations: 31.86 kB / 0.5555 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1671, allocations: 4 kB / 0.5555 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.1674, allocations: 99.92 kB / 0.5556 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.1674, allocations: 15.86 kB / 0.5556 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.1675, allocations: 23.86 kB / 0.5557 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.1678, allocations: 135.5 kB / 0.5558 GB, free: 6.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1678, allocations: 0 / 0.5558 GB, free: 6.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1679, allocations: 0 / 0.5558 GB, free: 6.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1679, allocations: 4 kB / 0.5558 GB, free: 6.664 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006793/0.1685, allocations: 410.8 kB / 0.5562 GB, free: 6.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1686, allocations: 8.031 kB / 0.5562 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.557e-05/0.1686, allocations: 4.188 kB / 0.5562 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.1686, allocations: 30.75 kB / 0.5562 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.1687, allocations: 12.83 kB / 0.5562 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1689, allocations: 200.1 kB / 0.5564 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1689, allocations: 384 / 0.5564 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.169, allocations: 12.12 kB / 0.5564 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1692, allocations: 63.39 kB / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1692, allocations: 0 / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.1692, allocations: 0 / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1692, allocations: 7.984 kB / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.851e-05/0.1693, allocations: 23.92 kB / 0.5565 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.1697, allocations: 288.9 kB / 0.5568 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.17, allocations: 46.55 kB / 0.5569 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.17, allocations: 12.86 kB / 0.5569 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1701, allocations: 0 / 0.5569 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.1701, allocations: 38.64 kB / 0.5569 GB, free: 5.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1701, allocations: 3.938 kB / 0.5569 GB, free: 5.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006134/0.1707, allocations: 153.4 kB / 0.5571 GB, free: 5.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.1708, allocations: 77.11 kB / 0.5571 GB, free: 5.098 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.171, allocations: 151.4 kB / 0.5573 GB, free: 4.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.171, allocations: 29.7 kB / 0.5573 GB, free: 4.906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.1711, allocations: 92.12 kB / 0.5574 GB, free: 4.812 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.1711, allocations: 15.86 kB / 0.5574 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.1711, allocations: 25.72 kB / 0.5574 GB, free: 4.766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1713, allocations: 322.8 kB / 0.5577 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.467e-05/0.1714, allocations: 19.98 kB / 0.5578 GB, free: 4.422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.709e-05/0.1714, allocations: 33.7 kB / 0.5578 GB, free: 4.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.1716, allocations: 52.81 kB / 0.5578 GB, free: 4.328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1716, allocations: 8.031 kB / 0.5578 GB, free: 4.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002045/0.1718, allocations: 81.62 kB / 0.5579 GB, free: 4.234 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1718, allocations: 7.938 kB / 0.5579 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1718, allocations: 0 / 0.5579 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1718, allocations: 7.938 kB / 0.5579 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.1719, allocations: 11.98 kB / 0.558 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1719, allocations: 0 / 0.558 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.172, allocations: 15.86 kB / 0.558 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.172, allocations: 4 kB / 0.558 GB, free: 4.188 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 (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 0.0001094/0.1721, allocations: 116 kB / 0.5581 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.1721, allocations: 7.953 kB / 0.5581 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.1724, allocations: 97.95 kB / 0.5582 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1724, allocations: 3.938 kB / 0.5582 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1724, allocations: 320 / 0.5582 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1724, allocations: 3.938 kB / 0.5582 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.173, allocations: 370.5 kB / 0.5585 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.173, allocations: 0 / 0.5585 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.1731, allocations: 15.92 kB / 0.5586 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1731, allocations: 0 / 0.5586 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1731, allocations: 3.938 kB / 0.5586 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1731, allocations: 4 kB / 0.5586 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1731, allocations: 0 / 0.5586 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.1733, allocations: 183.4 kB / 0.5587 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.1734, allocations: 85.06 kB / 0.5588 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.1734, allocations: 7.938 kB / 0.5588 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.1735, allocations: 7.984 kB / 0.5588 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.1735, allocations: 4 kB / 0.5588 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.1735, allocations: 0 / 0.5588 GB, free: 3.188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.1736, allocations: 117.8 kB / 0.559 GB, free: 3.074 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1736, allocations: 4 kB / 0.559 GB, free: 3.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.1739, allocations: 35.88 kB / 0.559 GB, free: 3.035 MB / 414.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.002285/0.1762, allocations: 1.103 MB / 0.5601 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.1765, allocations: 59.95 kB / 0.5601 GB, free: 2.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1765, allocations: 0 / 0.5601 GB, free: 2.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.1766, allocations: 31.92 kB / 0.5602 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.1769, allocations: 18.94 kB / 0.5602 GB, free: 1.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.1789, allocations: 1.446 MB / 0.5616 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.1792, allocations: 0.6924 MB / 0.5623 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.985e-05/0.1793, allocations: 19.77 kB / 0.5623 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.1794, allocations: 23.42 kB / 0.5623 GB, free: 15.71 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1794, allocations: 0 / 0.5623 GB, free: 15.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.2009, allocations: 3.315 MB / 0.5655 GB, free: 12.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.38/8.58, allocations: 8.875 kB / 0.5655 GB, free: 12.41 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.905422550975345]