Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001186/0.001186, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.363/1.363, allocations: 205.1 MB / 225 MB, free: 12.3 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.001378/0.001379, allocations: 59.92 kB / 281.3 MB, free: 3.148 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09008/0.09147, allocations: 46.62 MB / 328 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006707/0.09822, allocations: 5.204 MB / 333.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.1015, allocations: 1.717 MB / 334.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006606/0.1023, allocations: 16 kB / 334.9 MB, free: 13.47 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003423/0.1057, allocations: 1.408 MB / 336.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.1069, allocations: 313.6 kB / 336.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.1088, allocations: 0.8136 MB / 337.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.11, allocations: 0.8131 MB / 338.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.1113, allocations: 0.7694 MB / 339 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.1118, allocations: 350.7 kB / 339.4 MB, free: 8.996 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005998/0.1124, allocations: 470.1 kB / 339.8 MB, free: 8.535 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.1126, allocations: 76 kB / 339.9 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006651/0.1132, allocations: 251.8 kB / 340.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.1134, allocations: 183.3 kB / 340.3 MB, free: 8.035 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004974/0.1139, allocations: 421.9 kB / 340.7 MB, free: 7.621 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.1156, allocations: 1.176 MB / 341.9 MB, free: 6.441 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1156, allocations: 4 kB / 341.9 MB, free: 6.438 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1156, allocations: 0 / 341.9 MB, free: 6.438 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.567e-05/0.1156, allocations: 0 / 341.9 MB, free: 6.438 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004519/0.1202, allocations: 1.447 MB / 343.4 MB, free: 4.938 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1202, allocations: 12.02 kB / 343.4 MB, free: 4.926 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.1219, allocations: 255.7 kB / 343.6 MB, free: 4.676 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.1222, allocations: 251.2 kB / 343.9 MB, free: 4.391 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.99e-05/0.1223, allocations: 74.38 kB / 343.9 MB, free: 4.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.1225, allocations: 100.3 kB / 344 MB, free: 4.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.1242, allocations: 0.9422 MB / 345 MB, free: 3.266 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.1242, allocations: 11.98 kB / 345 MB, free: 3.254 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.883e-05/0.1243, allocations: 40 kB / 345 MB, free: 3.215 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.1243, allocations: 24 kB / 345 MB, free: 3.191 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.1257, allocations: 0.7808 MB / 345.8 MB, free: 2.414 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005282/0.1309, allocations: 3.377 MB / 349.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.1329, allocations: 1.248 MB / 350.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.1334, allocations: 369.2 kB / 350.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.1336, allocations: 106.1 kB / 350.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1336, allocations: 47.5 kB / 351 MB, free: 12.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.226e-06/0.1336, allocations: 3.938 kB / 351 MB, free: 12.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002219/0.1358, allocations: 1.3 MB / 352.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.1359, allocations: 90.11 kB / 352.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.1364, allocations: 376.2 kB / 352.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.1364, allocations: 41.7 kB / 352.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.1367, allocations: 378.9 kB / 353.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.1369, allocations: 291.8 kB / 353.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/0.1372, allocations: 178.8 kB / 353.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1373, allocations: 358.8 kB / 353.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/0.1378, allocations: 270.5 kB / 354.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005734/0.1384, allocations: 475.4 kB / 354.7 MB, free: 9.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.1395, allocations: 0.7745 MB / 355.4 MB, free: 8.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.1395, allocations: 0 / 355.4 MB, free: 8.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001732/0.1412, allocations: 0.9726 MB / 356.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.1413, allocations: 8 kB / 356.4 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.1413, allocations: 4 kB / 356.4 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004336/0.1417, allocations: 127.6 kB / 356.6 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/0.1425, allocations: 203.7 kB / 356.8 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004345/0.1469, allocations: 6.126 MB / 362.9 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/0.1476, allocations: 102.8 kB / 363 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.203e-05/0.1477, allocations: 36 kB / 363 MB, free: 20 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003935/0.1481, allocations: 241.4 kB / 363.3 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.1482, allocations: 47.44 kB / 363.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.1497, allocations: 0.8481 MB / 364.1 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.1497, allocations: 15.98 kB / 364.2 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1497, allocations: 0 / 364.2 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.1497, allocations: 7.922 kB / 364.2 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.1526, allocations: 1.935 MB / 366.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.1526, allocations: 4 kB / 366.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/0.1532, allocations: 135.8 kB / 366.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003007/0.1535, allocations: 111.6 kB / 366.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.412e-05/0.1536, allocations: 20 kB / 366.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003844/0.1574, allocations: 5.713 MB / 372.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1575, allocations: 3.938 kB / 372.1 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.1593, allocations: 1.275 MB / 373.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.1595, allocations: 144.4 kB / 373.5 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.471e-05/0.1596, allocations: 23.88 kB / 373.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.16, allocations: 20 kB / 373.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.1602, allocations: 64.62 kB / 373.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.1602, allocations: 28 kB / 373.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002966/0.1605, allocations: 251.1 kB / 373.9 MB, free: 4.336 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1605, allocations: 4 kB / 373.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009938/0.1615, allocations: 264.3 kB / 374.1 MB, free: 4.074 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002825/0.1618, allocations: 155 kB / 374.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.164, allocations: 1.196 MB / 375.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.164, allocations: 1.438 kB / 375.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009019/0.1649, allocations: 0.8035 MB / 376.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/0.1655, allocations: 61.3 kB / 376.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.1682, allocations: 1.449 MB / 377.8 MB, free: 248 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1413/0.3095, allocations: 0.9096 MB / 378.7 MB, free: 51.97 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.3099, allocations: 60.88 kB / 378.8 MB, free: 51.96 MB / 318.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3099, allocations: 0 / 378.8 MB, free: 51.96 MB / 318.1 MB Notification: Performance of Templates: time 0.02434/0.3342, allocations: 20.91 MB / 399.7 MB, free: 42.51 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches