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.001171/0.001171, allocations: 112.4 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.001393/0.001393, allocations: 187.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.512/1.512, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2203/0.2203, 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.001536/0.001536, allocations: 75.89 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1229, 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.004708/0.1276, allocations: 2.966 MB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1292, allocations: 0.7681 MB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003065/0.1296, allocations: 8 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1298, allocations: 59.38 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.1302, allocations: 99.12 kB / 0.4912 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.1306, allocations: 115.8 kB / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006602/0.1313, allocations: 482.4 kB / 0.4918 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.1316, allocations: 152 kB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.132, allocations: 187.3 kB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.1323, allocations: 207.1 kB / 0.4923 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.025e-05/0.1324, allocations: 40 kB / 0.4923 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.215e-05/0.1325, allocations: 40 kB / 0.4924 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1326, allocations: 95.61 kB / 0.4925 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.1328, allocations: 199 kB / 0.4926 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005078/0.1334, allocations: 470 kB / 0.4931 GB, free: 6.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1334, allocations: 0 / 0.4931 GB, free: 6.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1334, allocations: 4 kB / 0.4931 GB, free: 6.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.1334, allocations: 0 / 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.001496/0.1349, allocations: 0.7171 MB / 0.4938 GB, free: 5.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.135, allocations: 15.83 kB / 0.4938 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.445e-05/0.1351, allocations: 74.72 kB / 0.4939 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.209e-05/0.1352, allocations: 44.66 kB / 0.4939 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.1357, allocations: 299.5 kB / 0.4942 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.1357, allocations: 29.38 kB / 0.4942 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.1358, allocations: 36.38 kB / 0.4943 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.1365, allocations: 342.6 kB / 0.4946 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.1365, allocations: 0 / 0.4946 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.1365, allocations: 16 kB / 0.4946 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.1365, allocations: 12 kB / 0.4946 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006255/0.1372, allocations: 303.8 kB / 0.4949 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.1394, allocations: 1.341 MB / 0.4962 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.1399, allocations: 280.9 kB / 0.4965 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.1402, allocations: 161.3 kB / 0.4966 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1402, allocations: 4.281 kB / 0.4967 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1403, allocations: 38.84 kB / 0.4967 GB, free: 2.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.1403, allocations: 0 / 0.4967 GB, free: 2.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008645/0.1411, allocations: 382.6 kB / 0.4971 GB, free: 2.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1412, allocations: 55.41 kB / 0.4971 GB, free: 2.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.1415, allocations: 270.7 kB / 0.4974 GB, free: 1.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.1415, allocations: 29.7 kB / 0.4974 GB, free: 1.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1417, allocations: 200.4 kB / 0.4976 GB, free: 1.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.37e-05/0.1418, allocations: 126.9 kB / 0.4977 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.1419, allocations: 74.11 kB / 0.4978 GB, free: 1.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.142, allocations: 338.8 kB / 0.4981 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.1423, allocations: 108.8 kB / 0.4982 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.1426, allocations: 171.5 kB / 0.4984 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005261/0.1432, allocations: 288.6 kB / 0.4986 GB, free: 452 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.1432, allocations: 7.938 kB / 0.4987 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006976/0.1439, allocations: 374.3 kB / 0.499 GB, free: 64 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1439, allocations: 4 kB / 0.499 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1439, allocations: 4 kB / 0.499 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1439, allocations: 4 kB / 0.499 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.1445, allocations: 99.89 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.1445, allocations: 7.984 kB / 0.4991 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.1448, allocations: 43.88 kB / 0.4992 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.1448, allocations: 23.98 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.0001659/0.145, allocations: 153.7 kB / 0.4993 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.1451, allocations: 27.81 kB / 0.4994 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006554/0.1457, allocations: 328.2 kB / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1457, allocations: 0 / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1458, allocations: 4 kB / 0.4997 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1458, allocations: 7.938 kB / 0.4997 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.1463, allocations: 401.1 kB / 0.5001 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1463, allocations: 0 / 0.5001 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.1467, allocations: 79.88 kB / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.1467, allocations: 4 kB / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.1468, allocations: 4 kB / 0.5002 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1468, allocations: 4 kB / 0.5002 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1468, allocations: 0 / 0.5002 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009008/0.1477, allocations: 0.5224 MB / 0.5007 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.1478, allocations: 128.8 kB / 0.5008 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.1479, allocations: 7.984 kB / 0.5008 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.1481, allocations: 12 kB / 0.5008 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.1482, allocations: 19.97 kB / 0.5008 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.1482, allocations: 19.94 kB / 0.5008 GB, free: 14.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002255/0.1485, allocations: 194 kB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1485, allocations: 3.938 kB / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.1488, 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.001172/0.15, allocations: 1.059 MB / 0.5022 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005937/0.1506, allocations: 271.6 kB / 0.5024 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1506, allocations: 0 / 0.5024 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.1509, 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.0003618/0.1512, allocations: 31.64 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.004385/0.1557, allocations: 3.156 MB / 0.5057 GB, free: 8.996 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.1561, allocations: 0.7837 MB / 0.5064 GB, free: 8.188 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.1563, allocations: 34.95 kB / 0.5065 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.1565, allocations: 107.4 kB / 0.5066 GB, free: 8.051 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1566, allocations: 0 / 0.5066 GB, free: 8.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.1834, allocations: 5.717 MB / 0.5121 GB, free: 2.332 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/8.018, allocations: 15.58 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