Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.0009618/0.0009618, 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.0008859/0.0008859, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9244/0.9244, 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.2609/0.2609, allocations: 32.79 MB / 293.5 MB, free: 1.219 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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.529e-05, allocations: 4.25 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002401/0.002426, allocations: 1.65 MB / 441.3 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008421/0.003268, allocations: 0.5336 MB / 441.8 MB, free: 2.031 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.003346, allocations: 0 / 441.8 MB, free: 2.031 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.003639, allocations: 95.61 kB / 441.9 MB, free: 1.938 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006649/0.004304, allocations: 115.5 kB / 442 MB, free: 1.824 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.004608, allocations: 98.69 kB / 442.1 MB, free: 1.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.004786, allocations: 99.69 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.004922, allocations: 19.97 kB / 442.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.005004, allocations: 51.89 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.005146, allocations: 59.86 kB / 442.3 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.005171, allocations: 4 kB / 442.3 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.005279, allocations: 51.84 kB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.005347, allocations: 31.92 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.005388, allocations: 23.86 kB / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.005584, allocations: 123.5 kB / 442.5 MB, free: 1.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005586, allocations: 3.938 kB / 442.6 MB, free: 1.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005587, allocations: 0 / 442.6 MB, free: 1.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.005593, allocations: 0 / 442.6 MB, free: 1.27 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004487/0.006041, allocations: 353.5 kB / 442.9 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.006086, allocations: 12.03 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.006125, allocations: 38.73 kB / 442.9 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.006161, allocations: 16.84 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.006334, allocations: 153.5 kB / 443.1 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.006345, allocations: 8.312 kB / 443.1 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.00637, allocations: 8.375 kB / 443.1 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.006509, allocations: 66.23 kB / 443.2 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.006521, allocations: 4.141 kB / 443.2 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.00653, allocations: 3.938 kB / 443.2 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.006537, allocations: 4 kB / 443.2 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.66e-05/0.006614, allocations: 43.89 kB / 443.2 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.006953, allocations: 291.8 kB / 443.5 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.007055, allocations: 62.55 kB / 443.6 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.007091, allocations: 24.84 kB / 443.6 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.007114, allocations: 0 / 443.6 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.007138, allocations: 34.56 kB / 443.7 MB, free: 36 kB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.007139, allocations: 0 / 443.7 MB, free: 36 kB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.1786/0.1858, allocations: 299.8 kB / 443.9 MB, free: 44.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.1858, allocations: 57.62 kB / 444 MB, free: 44.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.186, allocations: 247.8 kB / 444.2 MB, free: 44.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.186, allocations: 26.39 kB / 444.3 MB, free: 44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.186, allocations: 110 kB / 444.4 MB, free: 43.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.186, allocations: 52.27 kB / 444.4 MB, free: 43.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.1861, allocations: 29.47 kB / 444.5 MB, free: 43.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.1861, allocations: 327.6 kB / 444.8 MB, free: 43.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.1862, allocations: 36.97 kB / 444.8 MB, free: 43.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.797e-05/0.1862, allocations: 34.72 kB / 444.8 MB, free: 43.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1863, allocations: 87.44 kB / 444.9 MB, free: 43.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1863, allocations: 2.938 kB / 444.9 MB, free: 43.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001538/0.1865, allocations: 137.4 kB / 445.1 MB, free: 43.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1865, allocations: 5.781 kB / 445.1 MB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1865, allocations: 1.531 kB / 445.1 MB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1865, allocations: 4.375 kB / 445.1 MB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.1866, allocations: 31.55 kB / 445.1 MB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1866, allocations: 1.5 kB / 445.1 MB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.1867, allocations: 5.469 kB / 445.1 MB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1867, allocations: 4.281 kB / 445.1 MB, free: 43.52 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 6.799e-05/0.1867, allocations: 141.2 kB / 445.3 MB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.1868, allocations: 20.19 kB / 445.3 MB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.187, allocations: 160.6 kB / 445.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.187, allocations: 3.062 kB / 445.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.187, allocations: 0 / 445.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.187, allocations: 3.312 kB / 445.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.1874, allocations: 436.3 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1874, allocations: 0 / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.874e-05/0.1874, allocations: 31.94 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1874, allocations: 3.031 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1874, allocations: 3.938 kB / 445.9 MB, free: 43.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.1874, allocations: 5.469 kB / 445.9 MB, free: 43.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1874, allocations: 0 / 445.9 MB, free: 43.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.1876, allocations: 248.5 kB / 446.2 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.1876, allocations: 14 kB / 446.2 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1876, allocations: 10.62 kB / 446.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/0.1876, allocations: 6.594 kB / 446.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.1877, allocations: 18.33 kB / 446.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1877, allocations: 6.375 kB / 446.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.852e-05/0.1878, allocations: 180.3 kB / 446.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1878, allocations: 2.688 kB / 446.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001786/0.1879, allocations: 26.31 kB / 446.4 MB, free: 42.84 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.0009539/0.1889, allocations: 1.156 MB / 447.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.189, allocations: 98.73 kB / 447.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1891, allocations: 0 / 447.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.335e-05/0.1891, allocations: 51.23 kB / 447.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.1894, allocations: 23.36 kB / 447.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.1906, allocations: 1.851 MB / 449.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.35e-05/0.1906, allocations: 103.3 kB / 449.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.39e-05/0.1907, allocations: 26.28 kB / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.1907, allocations: 42.97 kB / 449.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1907, allocations: 0 / 449.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.2074, allocations: 4.235 MB / 454 MB, free: 39.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.672/6.88, allocations: 9.125 kB / 454 MB, free: 39.41 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.958652535453439]