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.000976/0.000976, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.001448/0.001448, allocations: 147.7 kB / 25.6 MB, free: 8.594 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.8454/0.8454, allocations: 173.4 MB / 202.2 MB, free: 8.301 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.342e-06/1.342e-06, allocations: 0 / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.151e-05, allocations: 2.312 kB / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004173/0.004195, allocations: 5.061 MB / 274.3 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.006146, allocations: 1.63 MB / 275.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.006385, allocations: 16 kB / 275.9 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.007912, allocations: 1.452 MB / 277.4 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.008424, allocations: 329.4 kB / 277.7 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008505/0.009274, allocations: 0.7706 MB / 278.5 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006337/0.009908, allocations: 0.8478 MB / 279.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006918/0.0106, allocations: 0.6673 MB / 280 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004126/0.01101, allocations: 0.5222 MB / 280.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.01131, allocations: 359 kB / 280.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.01144, allocations: 76 kB / 280.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.0118, allocations: 243.6 kB / 281.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.01189, allocations: 187.3 kB / 281.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.01207, allocations: 283.3 kB / 281.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006766/0.01274, allocations: 0.8017 MB / 282.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01275, allocations: 3.938 kB / 282.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01275, allocations: 0 / 282.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.01275, allocations: 0 / 282.4 MB, free: 12.51 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.002187/0.01494, allocations: 1.517 MB / 283.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.01498, allocations: 11.97 kB / 283.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009942/0.01598, allocations: 435.6 kB / 284.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.01613, allocations: 213.4 kB / 284.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.01617, allocations: 70.38 kB / 284.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.573e-05/0.01627, allocations: 100.4 kB / 284.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.0169, allocations: 0.6666 MB / 285.4 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.01692, allocations: 8.141 kB / 285.4 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.147e-05/0.01697, allocations: 44.38 kB / 285.5 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.01699, allocations: 27.94 kB / 285.5 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.01738, allocations: 341.6 kB / 285.8 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002882/0.02026, allocations: 2.679 MB / 288.5 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008243/0.02108, allocations: 0.722 MB / 289.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.02127, allocations: 202.8 kB / 289.4 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-05/0.02133, allocations: 28.98 kB / 289.5 MB, free: 5.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.02135, allocations: 50.39 kB / 289.5 MB, free: 5.191 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 1.913e-06/0.02136, allocations: 0 / 289.5 MB, free: 5.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0008838/0.02224, allocations: 0.6939 MB / 290.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.02228, allocations: 86.11 kB / 290.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.02249, allocations: 365.8 kB / 290.6 MB, free: 4.004 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.02251, allocations: 41.7 kB / 290.7 MB, free: 3.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.0227, allocations: 450.8 kB / 291.1 MB, free: 3.508 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.02285, allocations: 321.3 kB / 291.4 MB, free: 3.191 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.02301, allocations: 196.4 kB / 291.6 MB, free: 2.992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.02314, allocations: 0.5351 MB / 292.2 MB, free: 2.445 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.02328, allocations: 114.5 kB / 292.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.02354, allocations: 414 kB / 292.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006543/0.0242, allocations: 0.5778 MB / 293.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.0242, allocations: 0 / 293.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0006993/0.0249, allocations: 0.7258 MB / 294 MB, free: 400 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.02492, allocations: 4 kB / 294 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.02492, allocations: 8 kB / 294 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/0.02526, allocations: 155.1 kB / 294.1 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.02565, allocations: 203.7 kB / 294.3 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/0.02858, allocations: 7.533 MB / 301.9 MB, free: 8.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.02888, allocations: 95.3 kB / 302 MB, free: 7.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.02892, allocations: 32 kB / 302 MB, free: 7.902 MB / 282.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.0001629/0.02908, allocations: 220.3 kB / 302.2 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/0.02916, allocations: 83.61 kB / 302.3 MB, free: 7.594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006336/0.0298, allocations: 0.6266 MB / 302.9 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.0298, allocations: 8 kB / 302.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.02981, allocations: 0 / 302.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.02981, allocations: 7.984 kB / 302.9 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.03107, allocations: 1.284 MB / 304.2 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.03107, allocations: 8.062 kB / 304.2 MB, free: 5.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.03134, allocations: 131.8 kB / 304.4 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002791/0.03162, allocations: 142.6 kB / 304.5 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.03165, allocations: 24 kB / 304.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/0.0341, allocations: 6.975 MB / 311.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.03411, allocations: 11.94 kB / 311.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.03486, allocations: 0.993 MB / 312.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.03493, allocations: 67.47 kB / 312.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.03497, allocations: 16 kB / 312.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.03515, allocations: 23.94 kB / 312.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.03521, allocations: 60.55 kB / 312.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.03524, allocations: 23.98 kB / 312.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.03535, allocations: 230.9 kB / 312.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03535, allocations: 0 / 312.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006347/0.03598, allocations: 267.5 kB / 313.2 MB, free: 12.05 MB / 298.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.0002018/0.03618, allocations: 163.2 kB / 313.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007925/0.03697, allocations: 1.155 MB / 314.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.03698, allocations: 7.938 kB / 314.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006741/0.03765, allocations: 0.908 MB / 315.4 MB, free: 9.664 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.03801, allocations: 64.5 kB / 315.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.03968, allocations: 1.334 MB / 316.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.03978, allocations: 155.3 kB / 317 MB, free: 8.016 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000255/0.04004, allocations: 100.9 kB / 317.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.04021, allocations: 150.2 kB / 317.2 MB, free: 7.766 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.04021, allocations: 0 / 317.2 MB, free: 7.766 MB / 298.7 MB Notification: Performance of Templates: time 0.01035/0.05056, allocations: 7.66 MB / 324.9 MB, free: 204 kB / 298.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.9407895100302994]