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.001898/0.001898, allocations: 109.1 kB / 16.41 MB, free: 6.434 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.002188/0.002188, allocations: 185 kB / 17.34 MB, free: 5.734 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.709/1.709, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2395/0.2395, allocations: 43.52 MB / 314.1 MB, free: 460 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.002193/0.002193, allocations: 75.88 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1295, 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.004939/0.1345, allocations: 2.974 MB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1361, allocations: 0.7682 MB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.1362, allocations: 4 kB / 0.4911 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.1364, allocations: 63.38 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1367, allocations: 99.06 kB / 0.4912 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.137, allocations: 115.8 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005396/0.1375, allocations: 478.4 kB / 0.4918 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.1378, allocations: 156 kB / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.1381, allocations: 179.4 kB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.1384, allocations: 207.1 kB / 0.4923 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.332e-05/0.1385, allocations: 40 kB / 0.4923 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-05/0.1386, allocations: 36 kB / 0.4924 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1387, allocations: 99.66 kB / 0.4925 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.139, allocations: 206.9 kB / 0.4927 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006294/0.1396, allocations: 466 kB / 0.4931 GB, free: 6.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1396, allocations: 0 / 0.4931 GB, free: 6.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1396, allocations: 0 / 0.4931 GB, free: 6.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.1397, allocations: 4 kB / 0.4931 GB, free: 6.43 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.001565/0.1412, allocations: 0.717 MB / 0.4938 GB, free: 5.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.1413, allocations: 11.89 kB / 0.4938 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.1414, allocations: 74.72 kB / 0.4939 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.1415, allocations: 48.66 kB / 0.4939 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.1421, allocations: 287.5 kB / 0.4942 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.1422, allocations: 33.38 kB / 0.4942 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/0.1423, allocations: 36.38 kB / 0.4943 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007415/0.143, allocations: 350.5 kB / 0.4946 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.143, allocations: 0 / 0.4946 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.1431, allocations: 16 kB / 0.4946 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.1431, allocations: 8 kB / 0.4946 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007264/0.1438, allocations: 303.8 kB / 0.4949 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/0.1463, allocations: 1.337 MB / 0.4962 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.1469, allocations: 280.8 kB / 0.4965 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.1472, allocations: 157.4 kB / 0.4966 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.1473, allocations: 12.27 kB / 0.4967 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.1473, allocations: 34.84 kB / 0.4967 GB, free: 2.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.1473, allocations: 0 / 0.4967 GB, free: 2.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009207/0.1483, allocations: 390.5 kB / 0.4971 GB, free: 2.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.1483, allocations: 51.41 kB / 0.4971 GB, free: 2.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.1487, allocations: 266.7 kB / 0.4974 GB, free: 1.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.1487, allocations: 33.7 kB / 0.4974 GB, free: 1.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.1489, allocations: 204.4 kB / 0.4976 GB, free: 1.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.149, allocations: 118.9 kB / 0.4977 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.1491, allocations: 74.12 kB / 0.4978 GB, free: 1.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1493, allocations: 338.8 kB / 0.4981 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.1496, allocations: 104.8 kB / 0.4982 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.1499, allocations: 175.5 kB / 0.4984 GB, free: 0.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.1505, allocations: 292.6 kB / 0.4986 GB, free: 452 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1505, allocations: 3.938 kB / 0.4986 GB, free: 448 kB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007168/0.1512, allocations: 378.3 kB / 0.499 GB, free: 64 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.1513, allocations: 4 kB / 0.499 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1513, allocations: 4 kB / 0.499 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.1513, allocations: 4 kB / 0.499 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/0.1518, allocations: 99.95 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1519, allocations: 4 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.1521, allocations: 47.66 kB / 0.4992 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.1522, allocations: 16.14 kB / 0.4992 GB, free: 15.88 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.0001847/0.1524, allocations: 161.7 kB / 0.4993 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.1524, allocations: 27.81 kB / 0.4994 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007494/0.1532, allocations: 324.3 kB / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1532, allocations: 4 kB / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1532, allocations: 3.938 kB / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1532, allocations: 0 / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.1538, allocations: 405.1 kB / 0.5001 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1538, allocations: 0 / 0.5001 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/0.1542, allocations: 83.88 kB / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.1542, allocations: 3.984 kB / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.1543, allocations: 4 kB / 0.5002 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.1543, allocations: 4 kB / 0.5002 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1543, allocations: 0 / 0.5002 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009633/0.1552, allocations: 0.5263 MB / 0.5007 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.1554, allocations: 128.8 kB / 0.5008 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.1555, allocations: 11.98 kB / 0.5008 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.1557, allocations: 8 kB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.1558, allocations: 19.97 kB / 0.5008 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.1558, allocations: 12 kB / 0.5008 GB, free: 14.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002231/0.1561, allocations: 190 kB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1561, allocations: 8 kB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.1565, 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.001335/0.1578, allocations: 1.056 MB / 0.5021 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000646/0.1585, allocations: 279.6 kB / 0.5024 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1585, allocations: 0 / 0.5024 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.1588, allocations: 136.4 kB / 0.5025 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.1591, 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.005031/0.1642, allocations: 3.149 MB / 0.5056 GB, free: 9.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.1646, allocations: 0.7876 MB / 0.5064 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.1648, allocations: 38.94 kB / 0.5065 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.165, allocations: 107.4 kB / 0.5066 GB, free: 8.051 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1651, allocations: 3.938 kB / 0.5066 GB, free: 8.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.1962, allocations: 5.713 MB / 0.5121 GB, free: 2.332 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.737/8.933, allocations: 11.98 kB / 0.5122 GB, free: 2.32 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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