Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",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.001435/0.001435, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.001355/0.001355, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.53/1.53, allocations: 205.1 MB / 224 MB, free: 12.44 MB / 190.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.001133/0.001133, allocations: 53.95 kB / 280.3 MB, free: 3.375 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1051, allocations: 46.62 MB / 326.9 MB, free: 4.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00511/0.1102, allocations: 4.137 MB / 331 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.1127, allocations: 1.652 MB / 332.7 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.1129, allocations: 12 kB / 332.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.115, allocations: 0.9574 MB / 333.7 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.1155, allocations: 194.8 kB / 333.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.117, allocations: 0.7398 MB / 334.6 MB, free: 12.94 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005983/0.1176, allocations: 0.6185 MB / 335.2 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008044/0.1184, allocations: 0.5465 MB / 335.7 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003703/0.1188, allocations: 270.9 kB / 336 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.1192, allocations: 338.6 kB / 336.3 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.1193, allocations: 56 kB / 336.4 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000537/0.1198, allocations: 267.8 kB / 336.7 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1199, allocations: 127.5 kB / 336.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.1202, allocations: 314.5 kB / 337.1 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009745/0.1212, allocations: 0.9033 MB / 338 MB, free: 9.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1212, allocations: 0 / 338 MB, free: 9.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1212, allocations: 0 / 338 MB, free: 9.52 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1212, allocations: 0 / 338 MB, free: 9.52 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003504/0.1247, allocations: 1.206 MB / 339.2 MB, free: 8.266 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1248, allocations: 12.03 kB / 339.2 MB, free: 8.254 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/0.125, allocations: 106.7 kB / 339.3 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.1261, allocations: 184 kB / 339.5 MB, free: 7.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.1264, allocations: 240.1 kB / 339.7 MB, free: 7.688 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/0.1264, allocations: 58.31 kB / 339.8 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.1266, allocations: 68.36 kB / 339.9 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.1278, allocations: 0.7036 MB / 340.6 MB, free: 6.844 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.1278, allocations: 0 / 340.6 MB, free: 6.844 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.1279, allocations: 32 kB / 340.6 MB, free: 6.812 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1279, allocations: 16 kB / 340.6 MB, free: 6.797 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.1291, allocations: 0.5984 MB / 341.2 MB, free: 6.195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.1325, allocations: 2.316 MB / 343.5 MB, free: 3.734 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.1343, allocations: 1.636 MB / 345.2 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004839/0.1348, allocations: 275.3 kB / 345.4 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.1349, allocations: 93.66 kB / 345.5 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.135, allocations: 47.11 kB / 345.6 MB, free: 1.43 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 2.575e-06/0.135, allocations: 0 / 345.6 MB, free: 1.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.001516/0.1365, allocations: 0.6938 MB / 346.3 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.1366, allocations: 115.5 kB / 346.4 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.1369, allocations: 264.8 kB / 346.6 MB, free: 332 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/0.137, allocations: 37.7 kB / 346.7 MB, free: 288 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.1371, allocations: 256 kB / 346.9 MB, free: 24 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.1373, allocations: 224.9 kB / 347.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.1376, allocations: 118.6 kB / 347.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1377, allocations: 350.7 kB / 347.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.1382, allocations: 209.9 kB / 347.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.1387, allocations: 301.3 kB / 348.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000934/0.1397, allocations: 0.5104 MB / 348.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1397, allocations: 4 kB / 348.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001137/0.1408, allocations: 0.6256 MB / 349.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.1409, allocations: 11.98 kB / 349.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1409, allocations: 0 / 349.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1409, allocations: 4.188 kB / 349.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/0.1416, allocations: 159.8 kB / 349.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1416, allocations: 4 kB / 349.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.1421, allocations: 75.34 kB / 349.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.1422, allocations: 24 kB / 349.5 MB, free: 13.36 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * 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.0002284/0.1424, allocations: 185.7 kB / 349.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1425, allocations: 43.52 kB / 349.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.1438, allocations: 0.6046 MB / 350.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.1438, allocations: 15.98 kB / 350.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.1438, allocations: 3.938 kB / 350.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.1438, allocations: 3.984 kB / 350.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.1459, allocations: 1.3 MB / 351.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1459, allocations: 0 / 351.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/0.1465, allocations: 131.8 kB / 351.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1465, allocations: 0 / 351.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.1466, allocations: 19.94 kB / 351.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.1466, allocations: 0 / 351.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1466, allocations: 0 / 351.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.1482, allocations: 0.9783 MB / 352.8 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.94e-05/0.1483, allocations: 120.5 kB / 352.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/0.1484, allocations: 12 kB / 352.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.1488, allocations: 39.91 kB / 352.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.1489, allocations: 40.5 kB / 353 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.149, allocations: 20 kB / 353 MB, free: 9.742 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001995/0.1492, allocations: 188.5 kB / 353.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1492, allocations: 0 / 353.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005666/0.1497, allocations: 171.5 kB / 353.4 MB, free: 9.391 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (66): * Single equations (assignments): 66 * 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.001986/0.1517, allocations: 1.57 MB / 354.9 MB, free: 7.797 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.1531, allocations: 0.5662 MB / 355.5 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1532, allocations: 0 / 355.5 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004932/0.1537, allocations: 271.1 kB / 355.8 MB, free: 6.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.1542, allocations: 52.8 kB / 355.8 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006416/0.1607, allocations: 4.49 MB / 360.3 MB, free: 2.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.1611, allocations: 0.8499 MB / 361.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004304/0.1615, allocations: 75.41 kB / 361.2 MB, free: 1.359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.1618, allocations: 191.3 kB / 361.4 MB, free: 1.172 MB / 302.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1618, allocations: 0 / 361.4 MB, free: 1.172 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.1843, allocations: 8.982 MB / 370.4 MB, free: 8.164 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.1845, allocations: 233.3 kB / 370.6 MB, free: 7.91 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/2.397, allocations: 3.938 kB / 370.6 MB, free: 7.906 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches