Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.0008149/0.0008149, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008808/0.0008808, allocations: 170.3 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.9191/0.9191, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2509/0.2509, allocations: 32.79 MB / 293.5 MB, free: 1.234 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.485e-05, allocations: 12.25 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002069/0.002094, allocations: 1.591 MB / 441.2 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006404/0.002734, allocations: 0.5297 MB / 441.7 MB, free: 2.109 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.002788, allocations: 0 / 441.7 MB, free: 2.109 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.00297, allocations: 35.78 kB / 441.8 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.003203, allocations: 79.56 kB / 441.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.003412, allocations: 109.8 kB / 441.9 MB, free: 1.891 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.003531, allocations: 67.77 kB / 442 MB, free: 1.824 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.003625, allocations: 7.984 kB / 442 MB, free: 1.816 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.193e-05/0.003677, allocations: 27.92 kB / 442 MB, free: 1.789 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.201e-05/0.003729, allocations: 23.91 kB / 442.1 MB, free: 1.766 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.003748, allocations: 4 kB / 442.1 MB, free: 1.762 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.014e-05/0.003808, allocations: 31.94 kB / 442.1 MB, free: 1.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.003854, allocations: 15.92 kB / 442.1 MB, free: 1.715 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.003877, allocations: 11.94 kB / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.004006, allocations: 83.7 kB / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004008, allocations: 3.938 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004009, allocations: 0 / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004013, allocations: 3.938 kB / 442.2 MB, free: 1.613 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003332/0.004346, allocations: 305.9 kB / 442.5 MB, free: 1.285 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.004382, allocations: 12.03 kB / 442.5 MB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.004408, allocations: 34.75 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.004433, allocations: 12.89 kB / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.004558, allocations: 131.8 kB / 442.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.004565, allocations: 384 / 442.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.004583, allocations: 4.375 kB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.842e-05/0.004682, allocations: 54.23 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.004691, allocations: 192 / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.004706, allocations: 3.938 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004711, allocations: 3.938 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.495e-05/0.004766, allocations: 23.92 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.005026, allocations: 252 kB / 443 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.005176, allocations: 50.48 kB / 443.1 MB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.005205, allocations: 24.88 kB / 443.1 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.005222, allocations: 0 / 443.1 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.005237, allocations: 30.56 kB / 443.1 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.005238, allocations: 0 / 443.1 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003566/0.005595, allocations: 145.4 kB / 443.3 MB, free: 420 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.005623, allocations: 63.41 kB / 443.3 MB, free: 344 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.005755, allocations: 148.5 kB / 443.5 MB, free: 184 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.005766, allocations: 25.7 kB / 443.5 MB, free: 152 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.005806, allocations: 100.1 kB / 443.6 MB, free: 48 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.005823, allocations: 19.84 kB / 443.6 MB, free: 28 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.005848, allocations: 17.72 kB / 443.6 MB, free: 4 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1803/0.1862, allocations: 321.8 kB / 444 MB, free: 46.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.735e-05/0.1863, allocations: 21.2 kB / 444 MB, free: 46.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.805e-05/0.1863, allocations: 17.08 kB / 444 MB, free: 46.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.256e-05/0.1864, allocations: 54.42 kB / 444.1 MB, free: 46.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1864, allocations: 2.906 kB / 444.1 MB, free: 46.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001332/0.1865, allocations: 90.09 kB / 444.1 MB, free: 46.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1865, allocations: 5.906 kB / 444.2 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1865, allocations: 0 / 444.2 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1866, allocations: 0 / 444.2 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.1866, allocations: 18.58 kB / 444.2 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1866, allocations: 7.406 kB / 444.2 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.1866, allocations: 3.75 kB / 444.2 MB, free: 46.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1866, allocations: 0 / 444.2 MB, free: 46.06 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 (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 5.153e-05/0.1867, allocations: 119.7 kB / 444.3 MB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.1867, allocations: 10.66 kB / 444.3 MB, free: 45.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.1869, allocations: 95.2 kB / 444.4 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1869, allocations: 4.734 kB / 444.4 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1869, allocations: 3.938 kB / 444.4 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1869, allocations: 3.969 kB / 444.4 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.1872, allocations: 316.4 kB / 444.7 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1872, allocations: 0 / 444.7 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.1872, allocations: 13.61 kB / 444.7 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1872, allocations: 3.938 kB / 444.7 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1872, allocations: 3.312 kB / 444.7 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1872, allocations: 0 / 444.7 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1872, allocations: 0 / 444.7 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.1873, allocations: 190.8 kB / 444.9 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.1873, allocations: 7.609 kB / 444.9 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.1873, allocations: 3.938 kB / 444.9 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.1874, allocations: 9.641 kB / 444.9 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.1874, allocations: 5.656 kB / 445 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.1874, allocations: 2.875 kB / 445 MB, free: 45.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.808e-05/0.1874, allocations: 125.5 kB / 445.1 MB, free: 45.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1874, allocations: 0 / 445.1 MB, free: 45.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.1876, allocations: 15.61 kB / 445.1 MB, free: 45.44 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 (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.0008208/0.1884, allocations: 1.043 MB / 446.1 MB, free: 44.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.1886, allocations: 58.33 kB / 446.2 MB, free: 44.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1886, allocations: 0 / 446.2 MB, free: 44.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.1886, allocations: 23.19 kB / 446.2 MB, free: 44.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.1889, allocations: 17.61 kB / 446.2 MB, free: 44.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.1897, allocations: 1.474 MB / 447.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.295e-05/0.1898, allocations: 82.56 kB / 447.8 MB, free: 43.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.293e-05/0.1898, allocations: 18.52 kB / 447.8 MB, free: 43.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.1899, allocations: 25.53 kB / 447.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1899, allocations: 0 / 447.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.2056, allocations: 3.282 MB / 451.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.59/6.796, allocations: 4 kB / 451.1 MB, free: 42.19 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.800059646368027]