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.00163/0.00163, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001853/0.001853, allocations: 190 kB / 18.07 MB, free: 5.414 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.467/1.467, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001385/0.001385, allocations: 47.92 kB / 280 MB, free: 3.559 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1055, allocations: 46.62 MB / 326.6 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005588/0.1111, allocations: 4.141 MB / 330.7 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.114, allocations: 1.663 MB / 332.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000435/0.1145, allocations: 12 kB / 332.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.1168, allocations: 0.9497 MB / 333.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007532/0.1176, allocations: 198.7 kB / 333.6 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.1195, allocations: 0.7712 MB / 334.3 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00162/0.1211, allocations: 0.5949 MB / 334.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.1222, allocations: 461.9 kB / 335.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005362/0.1228, allocations: 246.9 kB / 335.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005752/0.1234, allocations: 330.7 kB / 335.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.1235, allocations: 40 kB / 336 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000784/0.1243, allocations: 251.7 kB / 336.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.1245, allocations: 119.5 kB / 336.3 MB, free: 11.08 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003901/0.1249, allocations: 298.5 kB / 336.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.1261, allocations: 0.8877 MB / 337.5 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.1261, allocations: 4 kB / 337.5 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1261, allocations: 0 / 337.5 MB, free: 9.891 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.1262, allocations: 0 / 337.5 MB, free: 9.891 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.003811/0.13, allocations: 1.194 MB / 338.7 MB, free: 8.645 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.13, allocations: 8.031 kB / 338.7 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.1312, allocations: 176 kB / 338.9 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1314, allocations: 248.1 kB / 339.1 MB, free: 8.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/0.1315, allocations: 50.38 kB / 339.2 MB, free: 8.137 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.1316, allocations: 68.28 kB / 339.3 MB, free: 8.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.133, allocations: 0.7154 MB / 340 MB, free: 7.336 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.1331, allocations: 0 / 340 MB, free: 7.336 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.098e-05/0.1331, allocations: 27.94 kB / 340 MB, free: 7.309 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.1331, allocations: 16 kB / 340 MB, free: 7.293 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.1344, allocations: 0.6101 MB / 340.6 MB, free: 6.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003322/0.1377, allocations: 2.309 MB / 342.9 MB, free: 4.227 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.1393, allocations: 1.636 MB / 344.6 MB, free: 2.363 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.1399, allocations: 271.4 kB / 344.8 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.14, allocations: 97.66 kB / 344.9 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.14, allocations: 43.16 kB / 345 MB, free: 1.926 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 2.375e-06/0.1401, allocations: 0 / 345 MB, free: 1.926 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.001588/0.1416, allocations: 0.7017 MB / 345.7 MB, free: 1.219 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/0.1417, allocations: 107.4 kB / 345.8 MB, free: 1.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.142, allocations: 260.9 kB / 346 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.1421, allocations: 37.7 kB / 346.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.1422, allocations: 263.9 kB / 346.3 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.1424, allocations: 224.8 kB / 346.6 MB, free: 308 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.1426, allocations: 114.6 kB / 346.7 MB, free: 188 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1428, allocations: 350.8 kB / 347 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.1433, allocations: 217.9 kB / 347.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.1438, allocations: 297.4 kB / 347.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.1449, allocations: 0.522 MB / 348 MB, free: 14.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1449, allocations: 0 / 348 MB, free: 14.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001255/0.1461, allocations: 0.6256 MB / 348.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1462, allocations: 8.188 kB / 348.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.1462, allocations: 4 kB / 348.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1462, allocations: 4 kB / 348.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/0.1469, allocations: 155.8 kB / 348.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.147, allocations: 7.938 kB / 348.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/0.1475, allocations: 79.28 kB / 348.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.1475, allocations: 20 kB / 348.9 MB, free: 13.85 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.0002575/0.1478, allocations: 197.6 kB / 349.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.481e-05/0.1479, allocations: 35.53 kB / 349.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.1492, allocations: 0.6007 MB / 349.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.1492, allocations: 4 kB / 349.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1492, allocations: 4 kB / 349.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.1492, allocations: 3.984 kB / 349.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.1514, allocations: 1.3 MB / 351.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1514, allocations: 0 / 351.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/0.152, allocations: 127.9 kB / 351.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.152, allocations: 0 / 351.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.152, allocations: 23.92 kB / 351.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.1521, allocations: 11.94 kB / 351.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1521, allocations: 3.938 kB / 351.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.1538, allocations: 0.9705 MB / 352.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.1539, allocations: 124.5 kB / 352.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.154, allocations: 12 kB / 352.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.1544, allocations: 31.92 kB / 352.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.1545, allocations: 44.48 kB / 352.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.1546, allocations: 19.98 kB / 352.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.1548, allocations: 188.5 kB / 352.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1548, allocations: 0 / 352.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005622/0.1553, allocations: 175.6 kB / 352.8 MB, free: 9.883 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.0002432/0.1556, allocations: 143.1 kB / 352.9 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.1567, allocations: 0.5312 MB / 353.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1568, allocations: 0 / 353.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005282/0.1573, allocations: 279.4 kB / 353.7 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.1578, allocations: 40.44 kB / 353.8 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.16, allocations: 1.328 MB / 355.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.1604, allocations: 0.8463 MB / 355.9 MB, free: 6.668 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004614/0.1609, allocations: 79.41 kB / 356 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.1611, allocations: 43.42 kB / 356.1 MB, free: 6.543 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1611, allocations: 0 / 356.1 MB, free: 6.543 MB / 302.1 MB Notification: Performance of Templates: time 0.009541/0.1706, allocations: 4.829 MB / 360.9 MB, free: 1.715 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