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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001611, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.00186/0.00186, 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.503/1.503, allocations: 222.9 MB / 241.8 MB, free: 15.58 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.2781/0.2781, allocations: 44.17 MB / 336.1 MB, free: 3.051 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.95 kB / 407.8 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1457, allocations: 60.82 MB / 468.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.004648/0.1504, allocations: 1.675 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1515, allocations: 427.2 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.702e-05/0.1516, allocations: 0 / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004238/0.152, allocations: 91.81 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.1523, allocations: 63.78 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.1528, allocations: 102.6 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.1531, allocations: 87.8 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.1533, allocations: 32.2 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1534, allocations: 35.89 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1536, allocations: 67.7 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.1536, allocations: 0 / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.1538, allocations: 51.91 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.142e-05/0.1539, allocations: 23.92 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/0.1539, allocations: 39.67 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.1542, allocations: 127.6 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1542, allocations: 0 / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1542, allocations: 0 / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1543, allocations: 0 / 471.4 MB, free: 11.97 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006556/0.1549, allocations: 419 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.155, allocations: 12.03 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.155, allocations: 30.75 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.1551, allocations: 16.75 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.1554, allocations: 212 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1554, allocations: 8.375 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.1554, allocations: 8.375 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1556, allocations: 77.59 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1556, allocations: 0 / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1557, allocations: 0 / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1557, allocations: 4 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.1558, allocations: 43.91 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005877/0.1564, allocations: 352.5 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.1566, allocations: 66.48 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.1567, allocations: 28.84 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.1567, allocations: 0 / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.1568, allocations: 30.56 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.1568, allocations: 4 kB / 472.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001288/0.1581, allocations: 323.7 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1582, allocations: 51.41 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.1584, allocations: 239.2 kB / 473.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.1585, allocations: 29.7 kB / 473.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.957e-05/0.1586, allocations: 120 kB / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.1587, allocations: 43.3 kB / 473.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.125e-05/0.1587, allocations: 29.7 kB / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1589, allocations: 326.8 kB / 473.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.159, allocations: 47.91 kB / 473.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1591, allocations: 47.97 kB / 473.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.1594, allocations: 108.9 kB / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1594, allocations: 0 / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003138/0.1597, allocations: 152.2 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.1598, allocations: 4 kB / 474.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1598, allocations: 3.938 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.1598, allocations: 0 / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1599, allocations: 39.92 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.16, allocations: 4.641 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.16, allocations: 7.984 kB / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.16, allocations: 0 / 474.3 MB, free: 8.906 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 (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 0.0001306/0.1602, allocations: 133.8 kB / 474.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.1602, allocations: 15.81 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.1607, allocations: 195 kB / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1607, allocations: 0 / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.1607, allocations: 4 kB / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1607, allocations: 0 / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007191/0.1614, allocations: 0.499 MB / 475.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1614, allocations: 4.031 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1616, allocations: 27.98 kB / 475.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1616, allocations: 0 / 475.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.1616, allocations: 4 kB / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1616, allocations: 3.938 kB / 475.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1616, allocations: 0 / 475.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.162, allocations: 260.1 kB / 475.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.162, allocations: 85.02 kB / 475.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1621, allocations: 0 / 475.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.1622, allocations: 11.98 kB / 475.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.1622, allocations: 4 kB / 475.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.1622, allocations: 7.984 kB / 475.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.1624, allocations: 171.2 kB / 475.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.1624, allocations: 0 / 475.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1627, allocations: 32 kB / 475.7 MB, free: 7.359 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 (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.001604/0.1643, allocations: 1.14 MB / 476.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.1646, allocations: 115.8 kB / 476.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1646, allocations: 0 / 476.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.1647, allocations: 67.78 kB / 477 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.1652, allocations: 25.88 kB / 477 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.1676, allocations: 1.911 MB / 478.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.168, allocations: 0.7238 MB / 479.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.478e-05/0.1681, allocations: 28.52 kB / 479.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.1682, allocations: 47.42 kB / 479.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1682, allocations: 0 / 479.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.1817, allocations: 3.264 MB / 483 MB, free: 184 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/0.1819, allocations: 231.8 kB / 483.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.069, allocations: 4 kB / 483.2 MB, free: 15.92 MB / 366.1 MB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches