Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",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.001452/0.001452, allocations: 109 kB / 16.41 MB, free: 6.488 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.001631/0.001631, allocations: 185.5 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.73/1.73, 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.2694/0.2694, allocations: 43.52 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.002037/0.002037, allocations: 75.86 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1535, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.007544/0.1611, allocations: 2.978 MB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.164, allocations: 0.7682 MB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003983/0.1644, allocations: 4 kB / 0.4911 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.1648, allocations: 59.39 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.1653, allocations: 103 kB / 0.4912 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.1658, allocations: 115.8 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009474/0.1668, allocations: 474.5 kB / 0.4918 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.1673, allocations: 156 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004111/0.1677, allocations: 179.3 kB / 0.4921 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.1681, allocations: 211.1 kB / 0.4923 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.144e-05/0.1682, allocations: 36 kB / 0.4923 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.77e-05/0.1683, allocations: 40 kB / 0.4924 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.1685, allocations: 91.67 kB / 0.4925 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003076/0.1688, allocations: 203 kB / 0.4926 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008232/0.1697, allocations: 474 kB / 0.4931 GB, free: 6.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.1697, allocations: 0 / 0.4931 GB, free: 6.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1697, allocations: 0 / 0.4931 GB, free: 6.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1697, allocations: 4 kB / 0.4931 GB, free: 6.434 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001997/0.1717, allocations: 0.7132 MB / 0.4938 GB, free: 5.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.1718, allocations: 15.83 kB / 0.4938 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.1719, allocations: 74.72 kB / 0.4939 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.773e-05/0.172, allocations: 48.66 kB / 0.4939 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.1726, allocations: 287.5 kB / 0.4942 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.1726, allocations: 29.38 kB / 0.4942 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.522e-05/0.1727, allocations: 40.31 kB / 0.4943 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007464/0.1735, allocations: 350.6 kB / 0.4946 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.1735, allocations: 0 / 0.4946 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.1736, allocations: 12 kB / 0.4946 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.1736, allocations: 12 kB / 0.4946 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006884/0.1743, allocations: 307.8 kB / 0.4949 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.1769, allocations: 1.337 MB / 0.4962 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/0.1775, allocations: 276.8 kB / 0.4965 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.1778, allocations: 161.4 kB / 0.4966 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.1779, allocations: 8.281 kB / 0.4967 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.1779, allocations: 34.84 kB / 0.4967 GB, free: 2.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.755e-06/0.178, allocations: 0 / 0.4967 GB, free: 2.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001044/0.179, allocations: 378.6 kB / 0.497 GB, free: 2.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.1791, allocations: 59.34 kB / 0.4971 GB, free: 2.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.1794, allocations: 270.7 kB / 0.4974 GB, free: 1.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.1795, allocations: 29.7 kB / 0.4974 GB, free: 1.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.1798, allocations: 212.3 kB / 0.4976 GB, free: 1.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1799, allocations: 118.9 kB / 0.4977 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.18, allocations: 66.12 kB / 0.4978 GB, free: 1.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003338/0.1804, allocations: 346.8 kB / 0.4981 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.1807, allocations: 104.8 kB / 0.4982 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.181, allocations: 171.5 kB / 0.4984 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.1816, allocations: 292.6 kB / 0.4986 GB, free: 456 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.1816, allocations: 3.938 kB / 0.4986 GB, free: 452 kB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007665/0.1824, allocations: 374.3 kB / 0.499 GB, free: 72 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.1824, allocations: 7.984 kB / 0.499 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.1824, allocations: 4 kB / 0.499 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.1824, allocations: 8 kB / 0.499 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/0.183, allocations: 99.88 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.183, allocations: 4 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.1833, allocations: 43.66 kB / 0.4992 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.1834, allocations: 16.19 kB / 0.4992 GB, free: 15.89 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * 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.0002651/0.1837, allocations: 157.6 kB / 0.4993 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.1837, allocations: 27.81 kB / 0.4994 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008052/0.1845, allocations: 328.3 kB / 0.4997 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.1846, allocations: 4 kB / 0.4997 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1846, allocations: 0 / 0.4997 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1846, allocations: 0 / 0.4997 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000799/0.1854, allocations: 405.2 kB / 0.5001 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1854, allocations: 3.984 kB / 0.5001 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.1859, allocations: 87.88 kB / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1859, allocations: 0 / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.1859, allocations: 7.938 kB / 0.5002 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/0.1859, allocations: 4 kB / 0.5002 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.186, allocations: 0 / 0.5002 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.187, allocations: 0.5224 MB / 0.5007 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.1871, allocations: 132.8 kB / 0.5008 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.1872, allocations: 8 kB / 0.5008 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.1874, allocations: 11.98 kB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.1875, allocations: 19.97 kB / 0.5008 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.1875, allocations: 8 kB / 0.5008 GB, free: 14.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002407/0.1878, allocations: 194 kB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1878, allocations: 8 kB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003988/0.1882, allocations: 87.89 kB / 0.5011 GB, free: 13.8 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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.001458/0.1897, allocations: 1.056 MB / 0.5021 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00073/0.1904, allocations: 271.7 kB / 0.5024 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1904, allocations: 0 / 0.5024 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.1907, allocations: 140.4 kB / 0.5025 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.1912, allocations: 31.2 kB / 0.5026 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005114/0.1963, allocations: 3.145 MB / 0.5056 GB, free: 9.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.1968, allocations: 0.7876 MB / 0.5064 GB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.197, allocations: 38.94 kB / 0.5064 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.1972, allocations: 111.4 kB / 0.5066 GB, free: 8.055 MB / 398.1 MB Notification: Performance of SimCode: time 1.172e-06/0.1972, allocations: 0 / 0.5066 GB, free: 8.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.233, allocations: 5.716 MB / 0.5121 GB, free: 2.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.649/8.882, allocations: 12.03 kB / 0.5121 GB, free: 2.324 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches