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.001285/0.001285, allocations: 100.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.001501/0.001502, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.498/1.498, 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.2591/0.2591, allocations: 43.52 MB / 314.1 MB, free: 472 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.001641/0.001641, allocations: 68.27 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1212, 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.004379/0.1256, allocations: 2.974 MB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1273, allocations: 0.7721 MB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.1276, allocations: 7.938 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.1278, allocations: 59.39 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.1282, allocations: 99.11 kB / 0.4912 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.1285, allocations: 119.8 kB / 0.4913 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005196/0.129, allocations: 478.4 kB / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.1293, allocations: 152 kB / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.1297, allocations: 179.3 kB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.13, allocations: 207.1 kB / 0.4923 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.702e-05/0.1301, allocations: 36 kB / 0.4923 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.092e-05/0.1301, allocations: 40 kB / 0.4924 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.1302, allocations: 99.59 kB / 0.4925 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.1304, allocations: 199 kB / 0.4926 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.1309, allocations: 470.3 kB / 0.4931 GB, free: 6.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1309, allocations: 0 / 0.4931 GB, free: 6.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1309, allocations: 0 / 0.4931 GB, free: 6.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.1309, 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.001412/0.1324, allocations: 0.6981 MB / 0.4938 GB, free: 5.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1324, allocations: 15.88 kB / 0.4938 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.93e-05/0.1325, allocations: 74.72 kB / 0.4939 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.1326, allocations: 48.38 kB / 0.4939 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.133, allocations: 291.3 kB / 0.4942 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.133, allocations: 33.31 kB / 0.4942 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.277e-05/0.1331, allocations: 36.38 kB / 0.4943 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006246/0.1337, allocations: 346.6 kB / 0.4946 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1338, allocations: 7.984 kB / 0.4946 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1338, allocations: 12 kB / 0.4946 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.1338, allocations: 12 kB / 0.4946 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006121/0.1344, allocations: 303.8 kB / 0.4949 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.1367, allocations: 1.333 MB / 0.4962 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.1372, allocations: 272.9 kB / 0.4965 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.1375, allocations: 165.4 kB / 0.4966 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.1376, allocations: 4.281 kB / 0.4966 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1376, allocations: 38.78 kB / 0.4967 GB, free: 2.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.693e-06/0.1376, allocations: 0 / 0.4967 GB, free: 2.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008406/0.1385, allocations: 374.4 kB / 0.497 GB, free: 2.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1385, allocations: 59.39 kB / 0.4971 GB, free: 2.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.1388, allocations: 274.6 kB / 0.4973 GB, free: 1.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1388, allocations: 29.7 kB / 0.4974 GB, free: 1.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.139, allocations: 204 kB / 0.4976 GB, free: 1.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/0.1391, allocations: 118.2 kB / 0.4977 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.1392, allocations: 66.12 kB / 0.4977 GB, free: 1.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1393, allocations: 342.8 kB / 0.4981 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.1396, allocations: 104.8 kB / 0.4982 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.1399, allocations: 175.4 kB / 0.4983 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/0.1404, allocations: 288.7 kB / 0.4986 GB, free: 484 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1404, allocations: 3.938 kB / 0.4986 GB, free: 480 kB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007645/0.1412, allocations: 378.1 kB / 0.499 GB, free: 96 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1412, allocations: 4 kB / 0.499 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.1412, allocations: 8 kB / 0.499 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1412, allocations: 7.984 kB / 0.499 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.1417, allocations: 103.8 kB / 0.4991 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1418, allocations: 0 / 0.4991 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.142, allocations: 43.58 kB / 0.4991 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.1421, allocations: 16.22 kB / 0.4991 GB, free: 15.91 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.000145/0.1422, allocations: 153.7 kB / 0.4993 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.1423, allocations: 27.7 kB / 0.4993 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007708/0.1431, allocations: 332.2 kB / 0.4996 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1431, allocations: 4 kB / 0.4996 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1431, allocations: 0 / 0.4996 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1431, allocations: 0 / 0.4996 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005336/0.1436, allocations: 405.1 kB / 0.5 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1436, allocations: 0 / 0.5 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.1441, allocations: 87.88 kB / 0.5001 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1441, allocations: 3.938 kB / 0.5001 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.1441, allocations: 4 kB / 0.5001 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1441, allocations: 4 kB / 0.5001 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1441, allocations: 0 / 0.5001 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008678/0.145, allocations: 0.5145 MB / 0.5006 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.1451, allocations: 128.7 kB / 0.5007 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.1452, allocations: 8 kB / 0.5008 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.1454, allocations: 11.98 kB / 0.5008 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.1455, allocations: 19.97 kB / 0.5008 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.1455, allocations: 8 kB / 0.5008 GB, free: 14.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.1457, allocations: 194 kB / 0.501 GB, free: 13.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1457, allocations: 8 kB / 0.501 GB, free: 13.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.1461, allocations: 91.78 kB / 0.5011 GB, free: 13.84 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.001394/0.1475, allocations: 1.051 MB / 0.5021 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006432/0.1482, allocations: 275.7 kB / 0.5024 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1482, allocations: 0 / 0.5024 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.1485, allocations: 140.4 kB / 0.5025 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.1489, allocations: 31.2 kB / 0.5025 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/0.1539, allocations: 3.134 MB / 0.5056 GB, free: 9.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.1544, allocations: 0.7876 MB / 0.5064 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.1546, allocations: 34.95 kB / 0.5064 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.1548, allocations: 111.4 kB / 0.5065 GB, free: 8.105 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1548, allocations: 0 / 0.5065 GB, free: 8.105 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.1807, allocations: 5.8 MB / 0.5122 GB, free: 2.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.536/8.717, allocations: 7.969 kB / 0.5122 GB, free: 2.297 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