Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.000914/0.000914, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001069/0.001069, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8662/0.8662, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2217/0.2217, allocations: 32.79 MB / 293.5 MB, free: 1.25 MB / 266.7 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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116e-05/1.273e-05, allocations: 6.281 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001813/0.001825, allocations: 1.607 MB / 441.2 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006051/0.002431, allocations: 0.5529 MB / 441.8 MB, free: 2.066 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.002477, allocations: 0 / 441.8 MB, free: 2.066 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.002863, allocations: 455 kB / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.003186, allocations: 295.2 kB / 442.5 MB, free: 1.332 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.003456, allocations: 166.6 kB / 442.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.003622, allocations: 171.6 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.003705, allocations: 11.98 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/0.003794, allocations: 115.8 kB / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.003952, allocations: 239.6 kB / 443.2 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.003966, allocations: 4 kB / 443.2 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.004021, allocations: 35.84 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.457e-05/0.004095, allocations: 87.66 kB / 443.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.004129, allocations: 35.75 kB / 443.3 MB, free: 496 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.004315, allocations: 231.1 kB / 443.6 MB, free: 264 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004317, allocations: 4 kB / 443.6 MB, free: 260 kB / 410.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004317, allocations: 0 / 443.6 MB, free: 260 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.004321, allocations: 4 kB / 443.6 MB, free: 256 kB / 410.7 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.1472/0.1516, allocations: 0.5673 MB / 444.1 MB, free: 46.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1516, allocations: 8.531 kB / 444.1 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.625e-05/0.1516, allocations: 32.19 kB / 444.2 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.1517, allocations: 51.38 kB / 444.2 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.1519, allocations: 248.8 kB / 444.5 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.1519, allocations: 2.406 kB / 444.5 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.1519, allocations: 4.5 kB / 444.5 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.152, allocations: 50.47 kB / 444.5 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.152, allocations: 3.719 kB / 444.5 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.152, allocations: 0.8438 kB / 444.5 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.152, allocations: 7.781 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.114e-05/0.1521, allocations: 29.41 kB / 444.6 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.1524, allocations: 348.4 kB / 444.9 MB, free: 46.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.755e-05/0.1524, allocations: 28.14 kB / 444.9 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.1525, allocations: 26.05 kB / 445 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1525, allocations: 2.188 kB / 445 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.1525, allocations: 30.56 kB / 445 MB, free: 46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 2.585e-06/0.1525, allocations: 2.906 kB / 445 MB, free: 46 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001716/0.1527, allocations: 112.3 kB / 445.1 MB, free: 45.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.1527, allocations: 55.91 kB / 445.2 MB, free: 45.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.1531, allocations: 0.8786 MB / 446 MB, free: 45.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-06/0.1531, allocations: 25.7 kB / 446.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/0.1532, allocations: 222.7 kB / 446.3 MB, free: 45.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.1532, allocations: 12.78 kB / 446.3 MB, free: 45.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.1533, allocations: 15.08 kB / 446.3 MB, free: 45.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.1533, allocations: 362.8 kB / 446.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.327e-05/0.1533, allocations: 10.19 kB / 446.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.968e-05/0.1534, allocations: 8.688 kB / 446.7 MB, free: 45.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.1534, allocations: 32.75 kB / 446.7 MB, free: 45.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1534, allocations: 0 / 446.7 MB, free: 45.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.998e-05/0.1535, allocations: 103.9 kB / 446.8 MB, free: 45.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1535, allocations: 5.531 kB / 446.8 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1535, allocations: 0 / 446.8 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1535, allocations: 0 / 446.8 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.642e-05/0.1536, allocations: 7.125 kB / 446.8 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1536, allocations: 6.219 kB / 446.8 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.1536, allocations: 3.094 kB / 446.8 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1536, allocations: 2.75 kB / 446.8 MB, free: 45.01 MB / 410.7 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 (2): * Single equations (assignments): 2 * 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 9.371e-05/0.1537, allocations: 210.9 kB / 447 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.1537, allocations: 50.75 kB / 447.1 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.1539, allocations: 107.2 kB / 447.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1539, allocations: 3.969 kB / 447.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1539, allocations: 0 / 447.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1539, allocations: 0 / 447.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.154, allocations: 265.2 kB / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.154, allocations: 3.938 kB / 447.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.154, allocations: 8.641 kB / 447.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.154, allocations: 0 / 447.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1541, allocations: 0 / 447.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.1541, allocations: 0 / 447.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1541, allocations: 2.688 kB / 447.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.971e-05/0.1541, allocations: 191.6 kB / 447.7 MB, free: 44.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.1542, allocations: 42.16 kB / 447.7 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1542, allocations: 3.375 kB / 447.7 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.047e-05/0.1542, allocations: 2.688 kB / 447.7 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.1542, allocations: 2.781 kB / 447.7 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.1542, allocations: 0 / 447.7 MB, free: 44.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003162/0.1545, allocations: 0.6626 MB / 448.4 MB, free: 44.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1545, allocations: 0.8438 kB / 448.4 MB, free: 44.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.1547, allocations: 16.67 kB / 448.4 MB, free: 44.16 MB / 410.7 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 (2): * Single equations (assignments): 2 * 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.0006974/0.1554, allocations: 0.9996 MB / 449.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.994e-05/0.1555, allocations: 28.19 kB / 449.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1555, allocations: 4.312 kB / 449.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.744e-05/0.1555, allocations: 19.91 kB / 449.4 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.1558, allocations: 21.09 kB / 449.5 MB, free: 43.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.1576, allocations: 3.188 MB / 452.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.1577, allocations: 215.5 kB / 452.9 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.976e-05/0.1577, allocations: 13.12 kB / 452.9 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.1578, allocations: 128.7 kB / 453 MB, free: 41.48 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1578, allocations: 0 / 453 MB, free: 41.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.1753, allocations: 6.465 MB / 459.5 MB, free: 39.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/7.065, allocations: 5.625 kB / 459.5 MB, free: 39.86 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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: 8.931446199305356]