Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 106.9 kB / 17.21 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 241.8 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 44.17 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 62.31 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1755, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003438/0.179, allocations: 1.636 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.1798, allocations: 431.2 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.1799, allocations: 0 / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.1802, allocations: 83.83 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.1804, allocations: 59.8 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.1807, allocations: 102.6 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.1809, allocations: 71.81 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.181, allocations: 20.17 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.214e-05/0.181, allocations: 27.91 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1812, allocations: 55.77 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1812, allocations: 4 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-05/0.1813, allocations: 47.97 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.1813, allocations: 19.92 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.1814, allocations: 31.73 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1816, allocations: 99.92 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1816, allocations: 0 / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1816, allocations: 0 / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1816, allocations: 0 / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004993/0.1821, allocations: 418.9 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1822, allocations: 8.031 kB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.1822, allocations: 38.75 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.1822, allocations: 12.84 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1825, allocations: 204.7 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1825, allocations: 384 / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1825, allocations: 4.125 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1827, allocations: 61.66 kB / 472 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1827, allocations: 0 / 472 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1827, allocations: 0 / 472 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1827, allocations: 3.938 kB / 472 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1828, allocations: 27.98 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.1832, allocations: 308.7 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1833, allocations: 42.56 kB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.1834, allocations: 20.94 kB / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1834, allocations: 4 kB / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.1835, allocations: 30.56 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.1835, allocations: 0 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000899/0.1844, allocations: 237.3 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.1844, allocations: 59.34 kB / 472.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.1846, allocations: 228 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1847, allocations: 25.7 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.1847, allocations: 112.1 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.1848, allocations: 31.55 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.1848, allocations: 21.72 kB / 473.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.185, allocations: 322.8 kB / 473.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.724e-05/0.185, allocations: 35.97 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.401e-05/0.1851, allocations: 27.98 kB / 473.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.1854, allocations: 77.03 kB / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1854, allocations: 0 / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002135/0.1856, allocations: 109.5 kB / 473.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1856, allocations: 7.938 kB / 473.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.1857, allocations: 0 / 473.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1857, allocations: 8 kB / 473.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.1858, allocations: 16.03 kB / 473.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1858, allocations: 3.938 kB / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.229e-05/0.1858, allocations: 11.98 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1859, allocations: 11.98 kB / 473.8 MB, free: 9.348 MB / 350.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 (8): * Single equations (assignments): 8 * 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.194e-05/0.186, allocations: 121.8 kB / 473.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.186, allocations: 11.81 kB / 473.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.1863, allocations: 143 kB / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1863, allocations: 0 / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.1863, allocations: 3.938 kB / 474 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1863, allocations: 0 / 474 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.1869, allocations: 415.3 kB / 474.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1869, allocations: 11.97 kB / 474.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.1869, allocations: 15.98 kB / 474.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.187, allocations: 0 / 474.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.187, allocations: 4 kB / 474.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.187, allocations: 0 / 474.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.187, allocations: 0 / 474.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.1872, allocations: 216.1 kB / 474.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.1873, allocations: 96.88 kB / 474.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1873, allocations: 4 kB / 474.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.1874, allocations: 4 kB / 474.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.1874, allocations: 7.984 kB / 474.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1874, allocations: 4 kB / 474.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1876, allocations: 172.2 kB / 475 MB, free: 8.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1876, allocations: 0 / 475 MB, free: 8.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1878, allocations: 23.98 kB / 475 MB, free: 8.012 MB / 350.1 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 (8): * Single equations (assignments): 8 * 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.001473/0.1893, allocations: 1.1 MB / 476.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.1896, allocations: 71.95 kB / 476.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.1896, allocations: 0 / 476.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.281e-05/0.1897, allocations: 43.91 kB / 476.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.1901, allocations: 20.39 kB / 476.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.192, allocations: 1.738 MB / 478 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1923, allocations: 0.7121 MB / 478.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.898e-05/0.1923, allocations: 24.95 kB / 478.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.1924, allocations: 35.45 kB / 478.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1924, allocations: 4 kB / 478.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.2046, allocations: 2.902 MB / 481.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.2048, allocations: 236.1 kB / 481.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.045, allocations: 7.938 kB / 481.9 MB, free: 1.23 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches