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.001045/0.001045, allocations: 95.95 kB / 16.95 MB, free: 6.453 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.001061/0.001061, allocations: 181.9 kB / 17.84 MB, free: 6.008 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.525/1.525, allocations: 205.4 MB / 224 MB, free: 13.14 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.0005143/0.0005145, allocations: 12 kB / 280.8 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09202, allocations: 47.59 MB / 328.4 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005355/0.0974, allocations: 4.436 MB / 332.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003084/0.1005, allocations: 1.563 MB / 334.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005506/0.1011, allocations: 20 kB / 334.4 MB, free: 14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008252/0.1019, allocations: 198.9 kB / 334.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.1031, allocations: 258.3 kB / 334.8 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.1048, allocations: 0.6389 MB / 335.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.106, allocations: 0.7546 MB / 336.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.1089, allocations: 1.356 MB / 337.6 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005321/0.1094, allocations: 286.8 kB / 337.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/0.11, allocations: 390.4 kB / 338.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.1102, allocations: 32 kB / 338.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005648/0.1108, allocations: 215.7 kB / 338.5 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.1109, allocations: 135.3 kB / 338.6 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.1111, allocations: 173.3 kB / 338.8 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009576/0.1121, allocations: 0.8882 MB / 339.7 MB, free: 8.664 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1121, allocations: 0 / 339.7 MB, free: 8.664 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1121, allocations: 0 / 339.7 MB, free: 8.664 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.1121, allocations: 0 / 339.7 MB, free: 8.664 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.003689/0.1158, allocations: 1.283 MB / 341 MB, free: 7.328 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1159, allocations: 19.91 kB / 341 MB, free: 7.309 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.1175, allocations: 250.8 kB / 341.2 MB, free: 7.062 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.1178, allocations: 265.9 kB / 341.5 MB, free: 6.762 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.969e-05/0.1179, allocations: 70 kB / 341.6 MB, free: 6.695 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.1181, allocations: 99.91 kB / 341.6 MB, free: 6.598 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.1198, allocations: 0.9341 MB / 342.6 MB, free: 5.648 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.1198, allocations: 4 kB / 342.6 MB, free: 5.645 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.489e-05/0.1199, allocations: 40 kB / 342.6 MB, free: 5.605 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.1199, allocations: 20 kB / 342.6 MB, free: 5.586 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.1213, allocations: 0.7808 MB / 343.4 MB, free: 4.809 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005291/0.1266, allocations: 3.392 MB / 346.8 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.1285, allocations: 1.253 MB / 348.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.129, allocations: 369.2 kB / 348.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.1291, allocations: 98.08 kB / 348.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1292, allocations: 43.56 kB / 348.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.016e-06/0.1292, allocations: 4 kB / 348.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.00212/0.1313, allocations: 1.3 MB / 349.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.1314, allocations: 90.11 kB / 350 MB, free: 13.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000448/0.1318, allocations: 364.3 kB / 350.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.1319, allocations: 37.7 kB / 350.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.1322, allocations: 378.9 kB / 350.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.1324, allocations: 295.7 kB / 351 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.1325, allocations: 24.03 kB / 351 MB, free: 12.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1326, allocations: 358.8 kB / 351.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/0.1331, allocations: 262.5 kB / 351.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006445/0.1338, allocations: 475.3 kB / 352.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006126/0.1344, allocations: 334.9 kB / 352.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.1344, allocations: 4 kB / 352.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001756/0.1362, allocations: 0.9683 MB / 353.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1362, allocations: 8.656 kB / 353.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.1362, allocations: 4 kB / 353.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000395/0.1366, allocations: 127.4 kB / 353.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007599/0.1374, allocations: 203.7 kB / 353.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004359/0.1418, allocations: 5.566 MB / 359.3 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.1424, allocations: 106.9 kB / 359.4 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.429e-05/0.1425, allocations: 47.92 kB / 359.5 MB, free: 3.68 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003846/0.1429, allocations: 225.6 kB / 359.7 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.1431, allocations: 55.39 kB / 359.7 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.1446, allocations: 0.848 MB / 360.6 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.1446, allocations: 8 kB / 360.6 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1446, allocations: 4 kB / 360.6 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1446, allocations: 3.984 kB / 360.6 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.1475, allocations: 1.924 MB / 362.5 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.1475, allocations: 4.062 kB / 362.5 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.1481, allocations: 143.7 kB / 362.7 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000297/0.1484, allocations: 107.3 kB / 362.8 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.1485, allocations: 27.98 kB / 362.8 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003612/0.1521, allocations: 5.291 MB / 368.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1521, allocations: 7.938 kB / 368.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.1541, allocations: 1.272 MB / 369.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.1544, allocations: 144.2 kB / 369.5 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.1545, allocations: 16 kB / 369.5 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.1549, allocations: 16 kB / 369.5 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.1551, allocations: 80.52 kB / 369.6 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.1551, allocations: 20 kB / 369.6 MB, free: 8.719 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003481/0.1555, allocations: 255.2 kB / 369.9 MB, free: 8.473 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1555, allocations: 0 / 369.9 MB, free: 8.473 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001081/0.1566, allocations: 255.4 kB / 370.1 MB, free: 8.223 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002685/0.1569, allocations: 147.1 kB / 370.3 MB, free: 8.066 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.1586, allocations: 1.165 MB / 371.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1586, allocations: 0.5 kB / 371.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008912/0.1595, allocations: 0.7912 MB / 372.2 MB, free: 6.004 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.1601, allocations: 57.42 kB / 372.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.1628, allocations: 1.722 MB / 374 MB, free: 4.164 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005549/0.1633, allocations: 0.9109 MB / 374.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005609/0.1639, allocations: 109.1 kB / 375 MB, free: 3.117 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.1641, allocations: 55.42 kB / 375.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1641, allocations: 0 / 375.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of Templates: time 0.17/0.3341, allocations: 6.588 MB / 381.7 MB, free: 50.91 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../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