Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9762/0.9762, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.799e-05, allocations: 5.266 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004569/0.004587, allocations: 5.214 MB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.007008, allocations: 1.716 MB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.007283, allocations: 16 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.008957, allocations: 1.509 MB / 281.4 MB, free: 8.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005769/0.009534, allocations: 333.4 kB / 281.7 MB, free: 8.602 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007857/0.01032, allocations: 0.6269 MB / 282.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006592/0.01098, allocations: 0.836 MB / 283.2 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007078/0.01169, allocations: 0.6635 MB / 283.8 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004302/0.01212, allocations: 0.5144 MB / 284.3 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.01242, allocations: 359 kB / 284.7 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.79e-05/0.01249, allocations: 72 kB / 284.8 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003707/0.01286, allocations: 251.7 kB / 285 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.01319, allocations: 187.2 kB / 285.2 MB, free: 5.086 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.01338, allocations: 287.3 kB / 285.5 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006635/0.01404, allocations: 0.8096 MB / 286.3 MB, free: 3.992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01404, allocations: 0 / 286.3 MB, free: 3.992 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.01404, allocations: 4 kB / 286.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.01405, allocations: 0 / 286.3 MB, free: 3.988 MB / 266.7 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.002074/0.01612, allocations: 1.517 MB / 287.8 MB, free: 2.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.01616, allocations: 15.98 kB / 287.8 MB, free: 2.418 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009733/0.01713, allocations: 419.6 kB / 288.2 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.01727, allocations: 207.5 kB / 288.4 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.01731, allocations: 74.38 kB / 288.5 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.253e-05/0.0174, allocations: 100.4 kB / 288.6 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008223/0.01822, allocations: 0.7334 MB / 289.3 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.01825, allocations: 8.078 kB / 289.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.302e-05/0.0183, allocations: 44.38 kB / 289.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.01832, allocations: 27.94 kB / 289.4 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006226/0.01894, allocations: 455.4 kB / 289.9 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1028/0.1218, allocations: 2.674 MB / 292.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.1228, allocations: 0.783 MB / 293.3 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.1231, allocations: 243.4 kB / 293.6 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-05/0.1232, allocations: 41.27 kB / 293.6 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.1232, allocations: 46.75 kB / 293.6 MB, free: 18.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.394e-06/0.1232, allocations: 0.7188 kB / 293.6 MB, free: 18.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.001214/0.1244, allocations: 0.7812 MB / 294.4 MB, free: 18.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.1245, allocations: 90.45 kB / 294.5 MB, free: 18.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.1247, allocations: 379.8 kB / 294.9 MB, free: 18.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1247, allocations: 41.64 kB / 294.9 MB, free: 18.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.1249, allocations: 446.7 kB / 295.4 MB, free: 17.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.125, allocations: 314.1 kB / 295.7 MB, free: 17.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.1252, allocations: 191.6 kB / 295.9 MB, free: 17.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.409e-05/0.1253, allocations: 0.5328 MB / 296.4 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.1255, allocations: 153.8 kB / 296.5 MB, free: 17.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.1258, allocations: 444.2 kB / 297 MB, free: 16.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.1264, allocations: 0.6504 MB / 297.6 MB, free: 16.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1264, allocations: 1.188 kB / 297.6 MB, free: 16.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0009446/0.1274, allocations: 0.8136 MB / 298.4 MB, free: 16.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1274, allocations: 6.562 kB / 298.4 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1274, allocations: 5.844 kB / 298.4 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/0.1278, allocations: 165.7 kB / 298.6 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.1282, allocations: 206.6 kB / 298.8 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.1301, allocations: 7.628 MB / 306.4 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.1304, allocations: 103.7 kB / 306.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.1304, allocations: 46.08 kB / 306.6 MB, free: 8.66 MB / 266.7 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.0001368/0.1305, allocations: 208.1 kB / 306.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.7e-05/0.1306, allocations: 76.38 kB / 306.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007842/0.1314, allocations: 0.6902 MB / 307.6 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1314, allocations: 12.19 kB / 307.6 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1314, allocations: 3.312 kB / 307.6 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1314, allocations: 5.688 kB / 307.6 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.1329, allocations: 1.439 MB / 309 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1329, allocations: 7.969 kB / 309 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.1332, allocations: 147.5 kB / 309.2 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002997/0.1335, allocations: 142 kB / 309.3 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.1336, allocations: 23.45 kB / 309.3 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.135, allocations: 7.079 MB / 316.4 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.135, allocations: 6.406 kB / 316.4 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000993/0.136, allocations: 1.088 MB / 317.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.1361, allocations: 60.61 kB / 317.6 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.1361, allocations: 16.42 kB / 317.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.1363, allocations: 19.56 kB / 317.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.1364, allocations: 75.78 kB / 317.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.1364, allocations: 27.59 kB / 317.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1365, allocations: 232 kB / 317.9 MB, free: 15.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1365, allocations: 0 / 317.9 MB, free: 15.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005786/0.1371, allocations: 274.2 kB / 318.2 MB, free: 15.24 MB / 282.7 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.0002032/0.1373, allocations: 163.1 kB / 318.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009036/0.1382, allocations: 1.216 MB / 319.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1382, allocations: 0 / 319.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007162/0.1389, allocations: 0.933 MB / 320.5 MB, free: 13.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.1393, allocations: 63.97 kB / 320.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.1409, allocations: 1.321 MB / 321.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.423e-05/0.141, allocations: 152.5 kB / 322 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000231/0.1412, allocations: 106.5 kB / 322.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.1414, allocations: 57.38 kB / 322.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1414, allocations: 0 / 322.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of Templates: time 0.009762/0.1511, allocations: 7.563 MB / 329.8 MB, free: 6.914 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9303859672509134]