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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 93.28 kB / 17.3 MB, free: 6.395 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.001219/0.001219, allocations: 177.4 kB / 18.21 MB, free: 5.547 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.543/1.543, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004595/0.0004595, allocations: 16 kB / 281.4 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1035, allocations: 47.57 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004177/0.1078, allocations: 3.725 MB / 332.7 MB, free: 4 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.1105, allocations: 1.632 MB / 334.3 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.1109, allocations: 16 kB / 334.3 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006546/0.1116, allocations: 215.1 kB / 334.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007886/0.1124, allocations: 198.8 kB / 334.7 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.114, allocations: 0.7516 MB / 335.5 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007265/0.1147, allocations: 0.5949 MB / 336.1 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.1163, allocations: 0.8999 MB / 337 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003598/0.1167, allocations: 227 kB / 337.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003504/0.1171, allocations: 294.6 kB / 337.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.332e-05/0.1171, allocations: 28 kB / 337.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005491/0.1177, allocations: 243.7 kB / 337.8 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.1178, allocations: 99.47 kB / 337.9 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.118, allocations: 308.2 kB / 338.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009029/0.1189, allocations: 0.8643 MB / 339 MB, free: 9.613 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.119, allocations: 8 kB / 339 MB, free: 9.605 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.119, allocations: 0 / 339 MB, free: 9.605 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.119, allocations: 0 / 339 MB, free: 9.605 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.003411/0.1224, allocations: 1.101 MB / 340.1 MB, free: 8.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1225, allocations: 11.97 kB / 340.2 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.1236, allocations: 180.1 kB / 340.3 MB, free: 8.266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.1239, allocations: 236.2 kB / 340.6 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/0.1239, allocations: 50.38 kB / 340.6 MB, free: 7.949 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.124, allocations: 72.28 kB / 340.7 MB, free: 7.879 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.1253, allocations: 0.7194 MB / 341.4 MB, free: 7.141 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.1253, allocations: 0 / 341.4 MB, free: 7.141 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.576e-05/0.1254, allocations: 24 kB / 341.4 MB, free: 7.117 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.1254, allocations: 16 kB / 341.4 MB, free: 7.102 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.1267, allocations: 0.6297 MB / 342.1 MB, free: 6.469 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/0.1301, allocations: 2.332 MB / 344.4 MB, free: 3.992 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.1318, allocations: 1.64 MB / 346 MB, free: 2.125 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/0.1324, allocations: 287.3 kB / 346.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.1326, allocations: 93.66 kB / 346.4 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1326, allocations: 51.16 kB / 346.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 2.034e-06/0.1326, allocations: 0 / 346.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.001644/0.1343, allocations: 0.7327 MB / 347.2 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.1343, allocations: 111.5 kB / 347.3 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.1346, allocations: 256.9 kB / 347.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.1347, allocations: 41.69 kB / 347.6 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.1349, allocations: 264 kB / 347.8 MB, free: 236 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.135, allocations: 220.8 kB / 348.1 MB, free: 12 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.1351, allocations: 57.69 kB / 348.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1353, allocations: 346.8 kB / 348.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.1358, allocations: 221.9 kB / 348.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.1363, allocations: 313.4 kB / 349 MB, free: 15.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.1374, allocations: 0.5376 MB / 349.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1374, allocations: 0 / 349.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001335/0.1388, allocations: 0.6532 MB / 350.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1388, allocations: 4 kB / 350.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.1388, allocations: 0 / 350.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1388, allocations: 8 kB / 350.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/0.1396, allocations: 163.8 kB / 350.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.1396, allocations: 7.938 kB / 350.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/0.1401, allocations: 79.34 kB / 350.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.1402, allocations: 20 kB / 350.5 MB, free: 13.56 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.0002635/0.1405, allocations: 189.7 kB / 350.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.125e-05/0.1405, allocations: 39.52 kB / 350.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.1419, allocations: 0.628 MB / 351.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.142, allocations: 8 kB / 351.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.142, allocations: 0 / 351.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.142, allocations: 11.92 kB / 351.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.1443, allocations: 1.319 MB / 352.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1443, allocations: 0 / 352.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/0.1449, allocations: 127.9 kB / 352.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.1449, allocations: 8 kB / 352.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.1449, allocations: 12 kB / 352.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.1449, allocations: 7.938 kB / 352.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.1449, allocations: 7.922 kB / 352.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.1467, allocations: 1.002 MB / 353.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.1468, allocations: 128.5 kB / 353.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.1469, allocations: 12 kB / 353.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.1473, allocations: 35.92 kB / 354 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.1474, allocations: 40.5 kB / 354 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.1474, allocations: 24.05 kB / 354 MB, free: 9.855 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.1476, allocations: 188.5 kB / 354.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1476, allocations: 0 / 354.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006127/0.1482, allocations: 171.5 kB / 354.4 MB, free: 9.504 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.0002685/0.1485, allocations: 147.1 kB / 354.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.1497, allocations: 0.5468 MB / 355.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1497, allocations: 4 kB / 355.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.1503, allocations: 287.5 kB / 355.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.1508, allocations: 44.42 kB / 355.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.1531, allocations: 1.381 MB / 356.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.1535, allocations: 0.8424 MB / 357.6 MB, free: 6.203 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004313/0.1539, allocations: 91.33 kB / 357.7 MB, free: 6.109 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.1541, allocations: 43.42 kB / 357.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1541, allocations: 0 / 357.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of Templates: time 0.01005/0.1641, allocations: 4.777 MB / 362.5 MB, free: 1.289 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (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 & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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