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.0009951/0.0009951, allocations: 79.7 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.0009393/0.0009393, 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.8994/0.8994, allocations: 177.1 MB / 204.2 MB, free: 5.727 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.2657/0.2657, allocations: 32.79 MB / 293.5 MB, free: 1.242 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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.791e-05, allocations: 2.844 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002073/0.002091, allocations: 1.636 MB / 441.2 MB, free: 2.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006961/0.002787, allocations: 0.5492 MB / 441.8 MB, free: 2.035 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.00285, allocations: 0 / 441.8 MB, free: 2.035 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.003105, allocations: 99.61 kB / 441.9 MB, free: 1.938 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.003373, allocations: 115.5 kB / 442 MB, free: 1.824 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.003631, allocations: 124 kB / 442.1 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.003787, allocations: 103.7 kB / 442.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.003894, allocations: 19.98 kB / 442.2 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.003966, allocations: 55.88 kB / 442.3 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.304e-05/0.004059, allocations: 59.86 kB / 442.4 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.004074, allocations: 4 kB / 442.4 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.111e-05/0.004156, allocations: 51.86 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.004208, allocations: 31.91 kB / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.00424, allocations: 23.86 kB / 442.5 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.004407, allocations: 131.5 kB / 442.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004409, allocations: 4 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00441, allocations: 0 / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004414, allocations: 0 / 442.6 MB, free: 1.23 MB / 410.7 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.0003833/0.004797, allocations: 357.5 kB / 442.9 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.004839, allocations: 8.031 kB / 443 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.004869, allocations: 42.73 kB / 443 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.004897, allocations: 12.84 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.005039, allocations: 157.4 kB / 443.2 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.005049, allocations: 8.375 kB / 443.2 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.005068, allocations: 4.375 kB / 443.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.005196, allocations: 74.22 kB / 443.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.005206, allocations: 4.141 kB / 443.3 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.005216, allocations: 11.94 kB / 443.3 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.005223, allocations: 3.984 kB / 443.3 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.505e-05/0.005298, allocations: 43.97 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.005631, allocations: 299.8 kB / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.941e-05/0.005731, allocations: 62.55 kB / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.005766, allocations: 24.84 kB / 443.7 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.005788, allocations: 8 kB / 443.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1556/0.1614, allocations: 34.5 kB / 443.7 MB, free: 46.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 4.058e-06/0.1614, allocations: 0 / 443.7 MB, free: 46.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008448/0.1622, allocations: 330.8 kB / 444.1 MB, free: 46.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.1622, allocations: 54.75 kB / 444.1 MB, free: 46.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1624, allocations: 245.5 kB / 444.3 MB, free: 46.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.1624, allocations: 28.3 kB / 444.4 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.1624, allocations: 111.2 kB / 444.5 MB, free: 46.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.1625, allocations: 48.77 kB / 444.5 MB, free: 46.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.1625, allocations: 30.38 kB / 444.6 MB, free: 46.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.877e-05/0.1625, allocations: 328.8 kB / 444.9 MB, free: 45.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.1626, allocations: 46.88 kB / 444.9 MB, free: 45.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-05/0.1626, allocations: 42.48 kB / 445 MB, free: 45.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.1628, allocations: 117.5 kB / 445.1 MB, free: 45.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1628, allocations: 0 / 445.1 MB, free: 45.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001445/0.1629, allocations: 152.2 kB / 445.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1629, allocations: 7.625 kB / 445.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1629, allocations: 0 / 445.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1629, allocations: 0 / 445.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.163, allocations: 31.81 kB / 445.3 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.163, allocations: 5.375 kB / 445.3 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.163, allocations: 2.906 kB / 445.3 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.1631, allocations: 6.125 kB / 445.3 MB, free: 45.72 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 (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 5.595e-05/0.1631, allocations: 141.7 kB / 445.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.1631, allocations: 16.53 kB / 445.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.1633, allocations: 182.5 kB / 445.6 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1633, allocations: 6.109 kB / 445.6 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1634, allocations: 0 / 445.6 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1634, allocations: 3.688 kB / 445.6 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.1637, allocations: 470.7 kB / 446.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1637, allocations: 0 / 446.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.1638, allocations: 24 kB / 446.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1638, allocations: 0 / 446.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1638, allocations: 8.281 kB / 446.1 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1638, allocations: 0 / 446.1 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1638, allocations: 3.625 kB / 446.1 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.1639, allocations: 263 kB / 446.4 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.1639, allocations: 14.12 kB / 446.4 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.164, allocations: 3.938 kB / 446.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.164, allocations: 10.3 kB / 446.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.164, allocations: 9 kB / 446.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.164, allocations: 6.125 kB / 446.4 MB, free: 45.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.05e-05/0.1641, allocations: 188.6 kB / 446.6 MB, free: 44.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1641, allocations: 3.969 kB / 446.6 MB, free: 44.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.1643, allocations: 24.11 kB / 446.6 MB, free: 44.9 MB / 410.7 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.0009258/0.1652, allocations: 1.177 MB / 447.8 MB, free: 44.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.1654, allocations: 115 kB / 447.9 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1654, allocations: 0 / 447.9 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.66e-05/0.1654, allocations: 52.38 kB / 448 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.1657, allocations: 27.33 kB / 448 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.1668, allocations: 1.915 MB / 449.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.735e-05/0.1669, allocations: 117.9 kB / 450 MB, free: 42.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.514e-05/0.167, allocations: 36.41 kB / 450.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.167, allocations: 44.22 kB / 450.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.167, allocations: 0 / 450.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.1834, allocations: 4.319 MB / 454.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.648/6.831, allocations: 3.938 kB / 454.4 MB, free: 41.16 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/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: 8.82687323819846]