Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 149.3 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9004/0.9004, allocations: 173.4 MB / 201.5 MB, free: 9.164 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.021e-05, allocations: 2.312 kB / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006168/0.006188, allocations: 5.078 MB / 273.6 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002817/0.009005, allocations: 1.708 MB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.009204, allocations: 20 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.01075, allocations: 1.497 MB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005098/0.01126, allocations: 341.4 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000886/0.01215, allocations: 0.7744 MB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005915/0.01274, allocations: 0.8438 MB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006941/0.01343, allocations: 0.7123 MB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/0.01382, allocations: 0.5106 MB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.01413, allocations: 371 kB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.01424, allocations: 76 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.01454, allocations: 239.6 kB / 280.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.646e-05/0.01463, allocations: 183.3 kB / 280.8 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.01479, allocations: 287.3 kB / 281.1 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006052/0.0154, allocations: 0.8056 MB / 281.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.0154, allocations: 0 / 281.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.0154, allocations: 0 / 281.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.01541, allocations: 0 / 281.9 MB, free: 8.66 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.002008/0.01742, allocations: 1.431 MB / 283.3 MB, free: 7.203 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.01745, allocations: 12.92 kB / 283.3 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.01847, allocations: 448 kB / 283.8 MB, free: 6.754 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.01861, allocations: 212.6 kB / 284 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.01865, allocations: 74.38 kB / 284 MB, free: 6.445 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.827e-05/0.01875, allocations: 96.38 kB / 284.1 MB, free: 6.352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005631/0.01931, allocations: 0.661 MB / 284.8 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.01934, allocations: 12.14 kB / 284.8 MB, free: 5.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.01938, allocations: 36.38 kB / 284.8 MB, free: 5.633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.0194, allocations: 27.94 kB / 284.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.01973, allocations: 285.8 kB / 285.2 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/0.02217, allocations: 2.168 MB / 287.3 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007847/0.02295, allocations: 0.6626 MB / 288 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.02312, allocations: 172.2 kB / 288.2 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.587e-05/0.02319, allocations: 32.98 kB / 288.2 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.02321, allocations: 39.56 kB / 288.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.484e-06/0.02321, allocations: 0 / 288.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0007467/0.02396, allocations: 0.5523 MB / 288.8 MB, free: 1.555 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.02399, allocations: 90.11 kB / 288.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.02417, allocations: 310.5 kB / 289.2 MB, free: 1.137 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.02419, allocations: 37.7 kB / 289.2 MB, free: 1.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.02433, allocations: 400 kB / 289.6 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.02447, allocations: 309.3 kB / 289.9 MB, free: 400 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.02461, allocations: 170.8 kB / 290.1 MB, free: 224 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.1076/0.1322, allocations: 358.7 kB / 290.4 MB, free: 23.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.1325, allocations: 98.08 kB / 290.5 MB, free: 23.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.1327, allocations: 308.2 kB / 290.8 MB, free: 23.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.1331, allocations: 0.4891 MB / 291.3 MB, free: 22.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.1331, allocations: 2.125 kB / 291.3 MB, free: 22.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0007208/0.1339, allocations: 0.5599 MB / 291.9 MB, free: 22.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1339, allocations: 11.19 kB / 291.9 MB, free: 22.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.1339, allocations: 5.406 kB / 291.9 MB, free: 22.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003634/0.1343, allocations: 140.5 kB / 292 MB, free: 22.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.1347, allocations: 203.7 kB / 292.2 MB, free: 22.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.1363, allocations: 5.11 MB / 297.3 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.1366, allocations: 103.3 kB / 297.4 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.1366, allocations: 27.67 kB / 297.5 MB, free: 17.99 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.0001508/0.1367, allocations: 168 kB / 297.6 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.1368, allocations: 58.45 kB / 297.7 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005374/0.1374, allocations: 0.5123 MB / 298.2 MB, free: 17.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1374, allocations: 9.031 kB / 298.2 MB, free: 17.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1374, allocations: 6.188 kB / 298.2 MB, free: 17.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1374, allocations: 4.953 kB / 298.2 MB, free: 17.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.1385, allocations: 0.9481 MB / 299.2 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1385, allocations: 4.625 kB / 299.2 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.1388, allocations: 137.2 kB / 299.3 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.1391, allocations: 124.6 kB / 299.4 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.1391, allocations: 23.5 kB / 299.4 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.1403, allocations: 4.749 MB / 304.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1403, allocations: 2.688 kB / 304.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.1409, allocations: 0.7493 MB / 304.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.141, allocations: 63.94 kB / 305 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.141, allocations: 20.56 kB / 305 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.1412, allocations: 21.27 kB / 305 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.1413, allocations: 68.97 kB / 305.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.1413, allocations: 19.86 kB / 305.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.986e-05/0.1414, allocations: 104.5 kB / 305.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1414, allocations: 0 / 305.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006015/0.142, allocations: 268 kB / 305.5 MB, free: 12.5 MB / 266.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.0001825/0.1422, allocations: 146.8 kB / 305.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006409/0.1428, allocations: 0.8912 MB / 306.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/0.1428, allocations: 5.031 kB / 306.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.1431, allocations: 0.6711 MB / 307.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.1434, allocations: 59.94 kB / 307.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.145, allocations: 1.305 MB / 308.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.1451, allocations: 153.6 kB / 308.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002576/0.1454, allocations: 101.7 kB / 308.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.1455, allocations: 129.7 kB / 308.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1455, allocations: 0 / 308.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of Templates: time 0.009566/0.1551, allocations: 7.508 MB / 316.5 MB, free: 8.461 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.918422778137028]