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.001686/0.001686, allocations: 103.2 kB / 17.16 MB, free: 6.32 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.001459/0.001459, 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.48/1.48, allocations: 205.1 MB / 223.9 MB, free: 12.38 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.001762/0.001763, allocations: 51.94 kB / 280 MB, free: 3.555 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1133, allocations: 46.62 MB / 326.6 MB, free: 4.863 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006408/0.1197, allocations: 5.187 MB / 331.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00315/0.1229, allocations: 1.706 MB / 333.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.1233, allocations: 19.94 kB / 333.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.126, allocations: 1.335 MB / 334.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006557/0.1267, allocations: 270.3 kB / 335.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.1282, allocations: 0.7829 MB / 335.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009243/0.1291, allocations: 0.774 MB / 336.7 MB, free: 10.74 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.1302, allocations: 0.7073 MB / 337.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.1306, allocations: 330.7 kB / 337.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004447/0.131, allocations: 458.1 kB / 338.2 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.766e-05/0.1311, allocations: 56 kB / 338.2 MB, free: 9.195 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004799/0.1316, allocations: 231.8 kB / 338.4 MB, free: 8.969 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1317, allocations: 167.2 kB / 338.6 MB, free: 8.805 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000325/0.1321, allocations: 413.9 kB / 339 MB, free: 8.398 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.1331, allocations: 1.16 MB / 340.2 MB, free: 7.234 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1331, allocations: 4 kB / 340.2 MB, free: 7.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1331, allocations: 0 / 340.2 MB, free: 7.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.1332, allocations: 0 / 340.2 MB, free: 7.23 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.003776/0.1369, allocations: 1.436 MB / 341.6 MB, free: 5.742 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.137, allocations: 12.03 kB / 341.6 MB, free: 5.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.1386, allocations: 255.7 kB / 341.9 MB, free: 5.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1388, allocations: 255.2 kB / 342.1 MB, free: 5.191 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/0.1389, allocations: 70.38 kB / 342.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.139, allocations: 100.3 kB / 342.3 MB, free: 5.027 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.1405, allocations: 0.9501 MB / 343.2 MB, free: 4.062 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.1406, allocations: 0 / 343.2 MB, free: 4.062 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.956e-05/0.1407, allocations: 39.94 kB / 343.3 MB, free: 4.023 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.1407, allocations: 24 kB / 343.3 MB, free: 4 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.142, allocations: 0.7808 MB / 344.1 MB, free: 3.223 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004998/0.147, allocations: 3.384 MB / 347.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.149, allocations: 1.252 MB / 348.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/0.1495, allocations: 377.2 kB / 349.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.1497, allocations: 98.08 kB / 349.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1497, allocations: 43.56 kB / 349.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.474e-06/0.1497, allocations: 0 / 349.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.00215/0.1519, allocations: 1.308 MB / 350.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.1519, allocations: 94.14 kB / 350.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003897/0.1523, allocations: 364.3 kB / 351 MB, free: 11.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.183e-05/0.1524, allocations: 37.7 kB / 351 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.1527, allocations: 386.8 kB / 351.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.1529, allocations: 295.7 kB / 351.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.1531, allocations: 174.8 kB / 351.9 MB, free: 11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1533, allocations: 362.8 kB / 352.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.1538, allocations: 262.5 kB / 352.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/0.1544, allocations: 479.4 kB / 352.9 MB, free: 9.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.1554, allocations: 0.7706 MB / 353.7 MB, free: 8.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1555, allocations: 0 / 353.7 MB, free: 8.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001735/0.1572, allocations: 0.9762 MB / 354.7 MB, free: 7.996 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.1572, allocations: 8 kB / 354.7 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.1573, allocations: 4.562 kB / 354.7 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004144/0.1577, allocations: 123.4 kB / 354.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007559/0.1585, allocations: 207.7 kB / 355 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00439/0.1629, allocations: 5.578 MB / 360.6 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/0.1634, allocations: 98.91 kB / 360.7 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/0.1635, allocations: 44.11 kB / 360.7 MB, free: 1.387 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.0003446/0.1638, allocations: 241.5 kB / 361 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.164, allocations: 51.34 kB / 361 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.1654, allocations: 0.8521 MB / 361.9 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1654, allocations: 8 kB / 361.9 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1655, allocations: 11.88 kB / 361.9 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.1655, allocations: 3.984 kB / 361.9 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.1681, allocations: 1.924 MB / 363.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.1681, allocations: 8 kB / 363.8 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.1687, allocations: 148.1 kB / 364 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002842/0.169, allocations: 103.4 kB / 364.1 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.1691, allocations: 23.98 kB / 364.1 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/0.1725, allocations: 5.306 MB / 369.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1725, allocations: 0 / 369.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.1743, allocations: 1.272 MB / 370.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.1744, allocations: 144.3 kB / 370.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.828e-05/0.1745, allocations: 23.94 kB / 370.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.1749, allocations: 20 kB / 370.9 MB, free: 6.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.175, allocations: 64.58 kB / 370.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.175, allocations: 27.98 kB / 370.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.1753, allocations: 251.2 kB / 371.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1753, allocations: 4 kB / 371.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009413/0.1763, allocations: 260.4 kB / 371.4 MB, free: 5.887 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.0002814/0.1766, allocations: 151 kB / 371.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.1782, allocations: 1.166 MB / 372.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1782, allocations: 4 kB / 372.8 MB, free: 4.504 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007958/0.179, allocations: 0.7956 MB / 373.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.1796, allocations: 57.42 kB / 373.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.1822, allocations: 1.772 MB / 375.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.1829, allocations: 0.9148 MB / 376.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005319/0.1834, allocations: 105.1 kB / 376.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.1836, allocations: 51.44 kB / 376.5 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1836, allocations: 0 / 376.5 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of Templates: time 0.1512/0.3348, allocations: 6.859 MB / 383.3 MB, free: 51.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