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.00108/0.00108, allocations: 97.3 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.001405/0.001405, allocations: 179.6 kB / 18.21 MB, free: 5.551 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.501/1.501, allocations: 205.4 MB / 224.4 MB, free: 13.09 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.0005483/0.0005483, allocations: 8 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1011, allocations: 47.58 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00561/0.1068, allocations: 4.735 MB / 333.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003554/0.1104, allocations: 1.687 MB / 335.4 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007604/0.1112, allocations: 16 kB / 335.4 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009626/0.1122, allocations: 262.9 kB / 335.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.1136, allocations: 274.3 kB / 335.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.1155, allocations: 0.7634 MB / 336.7 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001732/0.1172, allocations: 0.7701 MB / 337.5 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003034/0.1203, allocations: 1.499 MB / 339 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004366/0.1207, allocations: 290.6 kB / 339.3 MB, free: 9.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004333/0.1212, allocations: 406.2 kB / 339.6 MB, free: 9 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.256e-05/0.1213, allocations: 36 kB / 339.7 MB, free: 8.965 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005541/0.1218, allocations: 223.8 kB / 339.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1219, allocations: 127.4 kB / 340 MB, free: 8.621 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.1223, allocations: 395.5 kB / 340.4 MB, free: 8.227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.1235, allocations: 1.133 MB / 341.5 MB, free: 7.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1235, allocations: 0 / 341.5 MB, free: 7.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1235, allocations: 0 / 341.5 MB, free: 7.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1235, allocations: 0 / 341.5 MB, free: 7.09 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.003748/0.1272, allocations: 1.283 MB / 342.8 MB, free: 5.754 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1273, allocations: 8.031 kB / 342.8 MB, free: 5.746 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.129, allocations: 255.7 kB / 343.1 MB, free: 5.496 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.1293, allocations: 267.1 kB / 343.3 MB, free: 5.195 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-05/0.1294, allocations: 70.38 kB / 343.4 MB, free: 5.129 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.1295, allocations: 104.3 kB / 343.5 MB, free: 5.027 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.1311, allocations: 0.9422 MB / 344.5 MB, free: 4.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/0.1312, allocations: 8 kB / 344.5 MB, free: 4.062 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.665e-05/0.1313, allocations: 36 kB / 344.5 MB, free: 4.027 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.1313, allocations: 24 kB / 344.5 MB, free: 4.004 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.1326, allocations: 0.7808 MB / 345.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005194/0.1378, allocations: 3.392 MB / 348.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.1398, allocations: 1.259 MB / 350 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/0.1404, allocations: 369.2 kB / 350.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.1406, allocations: 94.09 kB / 350.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.1406, allocations: 47.55 kB / 350.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 4.348e-06/0.1407, allocations: 3.938 kB / 350.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002416/0.1431, allocations: 1.312 MB / 351.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.1432, allocations: 94.03 kB / 351.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.1437, allocations: 368.3 kB / 352.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/0.1438, allocations: 33.7 kB / 352.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.1441, allocations: 382.8 kB / 352.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.1444, allocations: 303.7 kB / 352.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.1445, allocations: 81.67 kB / 353 MB, free: 11.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1447, allocations: 362.8 kB / 353.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004495/0.1451, allocations: 262.5 kB / 353.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/0.1458, allocations: 475.4 kB / 354.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.1469, allocations: 0.7745 MB / 354.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.1469, allocations: 4 kB / 354.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001835/0.1488, allocations: 0.9768 MB / 355.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.1488, allocations: 4 kB / 355.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.1488, allocations: 8 kB / 355.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004193/0.1492, allocations: 123.4 kB / 356 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007606/0.15, allocations: 207.7 kB / 356.2 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004447/0.1545, allocations: 5.578 MB / 361.8 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.1552, allocations: 102.8 kB / 361.9 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.1553, allocations: 43.98 kB / 361.9 MB, free: 1.453 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 (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.0004109/0.1557, allocations: 237.5 kB / 362.1 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.1558, allocations: 47.44 kB / 362.2 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.1573, allocations: 0.8482 MB / 363 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.1573, allocations: 8 kB / 363 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.1573, allocations: 7.938 kB / 363 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1574, allocations: 3.984 kB / 363 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/0.1602, allocations: 1.928 MB / 365 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.1603, allocations: 4 kB / 365 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/0.1608, allocations: 139.8 kB / 365.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002911/0.1611, allocations: 103.7 kB / 365.2 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/0.1612, allocations: 27.98 kB / 365.2 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003488/0.1647, allocations: 5.302 MB / 370.5 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.1647, allocations: 3.938 kB / 370.5 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.1664, allocations: 1.272 MB / 371.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.1666, allocations: 152.3 kB / 372 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.1667, allocations: 23.88 kB / 372 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.1671, allocations: 20 kB / 372 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1672, allocations: 64.5 kB / 372.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.1672, allocations: 24 kB / 372.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002919/0.1675, allocations: 255.2 kB / 372.3 MB, free: 6.219 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1675, allocations: 8 kB / 372.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009768/0.1685, allocations: 256.4 kB / 372.6 MB, free: 5.961 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.000285/0.1688, allocations: 163.1 kB / 372.8 MB, free: 5.793 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.1704, allocations: 1.161 MB / 373.9 MB, free: 4.578 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1704, allocations: 4 kB / 373.9 MB, free: 4.574 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008332/0.1713, allocations: 0.7928 MB / 374.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006501/0.1719, allocations: 65.67 kB / 374.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.1747, allocations: 1.807 MB / 376.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.1752, allocations: 0.9187 MB / 377.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005374/0.1758, allocations: 105.1 kB / 377.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.1759, allocations: 47.44 kB / 377.7 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1759, allocations: 0 / 377.7 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of Templates: time 0.1601/0.336, allocations: 6.755 MB / 384.4 MB, free: 50.05 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