Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18",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.001508/0.001508, allocations: 104.5 kB / 16.4 MB, free: 6.496 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.002266/0.002267, allocations: 192.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2244/0.2244, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 67.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1503, allocations: 57.78 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.003661/0.154, allocations: 1.585 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1556, allocations: 0.9496 MB / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.677e-05/0.1557, allocations: 3.938 kB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.156, allocations: 27.84 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.1563, allocations: 43.8 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1566, allocations: 99.73 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1568, allocations: 63.83 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1569, allocations: 28.16 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.157, allocations: 31.86 kB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.1574, allocations: 35.83 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1574, allocations: 4 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.1575, allocations: 47.98 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.1576, allocations: 11.94 kB / 0.4903 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.1577, allocations: 31.84 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1579, allocations: 99.7 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1579, allocations: 0 / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1579, allocations: 3.938 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1579, allocations: 0 / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006379/0.1586, allocations: 395.1 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1586, allocations: 11.89 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.1587, allocations: 38.75 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.1588, allocations: 8.844 kB / 0.4908 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.159, allocations: 192.2 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.159, allocations: 384 / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.1591, allocations: 12.12 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.1593, allocations: 88.17 kB / 0.4911 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1593, allocations: 0 / 0.4911 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.1594, allocations: 4 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.1594, allocations: 4 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.1595, allocations: 35.91 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.16, allocations: 381 kB / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.1604, allocations: 93.16 kB / 0.4916 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.477e-05/0.1605, allocations: 33.73 kB / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1605, allocations: 0 / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1605, allocations: 38.56 kB / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.1605, allocations: 0 / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007697/0.1613, allocations: 229.3 kB / 0.4919 GB, free: 7.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.1614, allocations: 106.8 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1616, allocations: 145.7 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1616, allocations: 25.7 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.1617, allocations: 100.1 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.1617, allocations: 31.55 kB / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.1618, allocations: 21.72 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1619, allocations: 318.8 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.547e-05/0.162, allocations: 39.91 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1622, allocations: 50.55 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.1624, allocations: 85.72 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1624, allocations: 0 / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002695/0.1627, allocations: 125.6 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1627, allocations: 8 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1627, allocations: 0 / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1627, allocations: 0 / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.162e-05/0.1628, allocations: 27.92 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.1628, allocations: 7.938 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.1629, allocations: 4 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1629, allocations: 4 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001144/0.163, allocations: 133.7 kB / 0.4931 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.1631, allocations: 7.906 kB / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.1635, allocations: 141.4 kB / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1635, allocations: 4 kB / 0.4932 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1635, allocations: 3.938 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1635, allocations: 0 / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007115/0.1642, allocations: 0.4907 MB / 0.4937 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1642, allocations: 4.25 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.1643, allocations: 23.92 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.1644, allocations: 8 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1644, allocations: 4.031 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1644, allocations: 0 / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.1644, allocations: 4.188 kB / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.1647, allocations: 299.5 kB / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.1648, allocations: 88.95 kB / 0.4941 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.1648, allocations: 4 kB / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.165, allocations: 8 kB / 0.4941 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.165, allocations: 7.984 kB / 0.4941 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.165, allocations: 4 kB / 0.4941 GB, free: 5.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.716e-05/0.1651, allocations: 111.2 kB / 0.4942 GB, free: 4.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1651, allocations: 0 / 0.4942 GB, free: 4.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000323/0.1655, allocations: 28 kB / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001792/0.1673, allocations: 1.175 MB / 0.4954 GB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002779/0.1676, allocations: 87.88 kB / 0.4955 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1676, allocations: 0 / 0.4955 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1677, allocations: 39.98 kB / 0.4955 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.1681, allocations: 19.98 kB / 0.4955 GB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.1701, allocations: 1.643 MB / 0.4971 GB, free: 1.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.1705, allocations: 0.7002 MB / 0.4978 GB, free: 1.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.946e-05/0.1706, allocations: 24.73 kB / 0.4979 GB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.1707, allocations: 35.36 kB / 0.4979 GB, free: 1.039 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1707, allocations: 0 / 0.4979 GB, free: 1.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.1979, allocations: 3.091 MB / 0.5009 GB, free: 13.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/7.95, allocations: 19.75 kB / 0.5009 GB, free: 13.86 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches