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.001143/0.001143, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.001072/0.001072, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 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.9464/0.9464, allocations: 173.4 MB / 201.1 MB, free: 9.344 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.743e-06/1.743e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.154e-05, allocations: 10.25 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004529/0.004551, allocations: 5.21 MB / 273.2 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.006785, allocations: 1.65 MB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.006967, allocations: 20 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.008618, allocations: 1.505 MB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004356/0.009053, allocations: 333.4 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009134/0.009967, allocations: 0.7746 MB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005587/0.01053, allocations: 0.8438 MB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007802/0.01131, allocations: 0.6752 MB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/0.01168, allocations: 0.5183 MB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.01199, allocations: 359 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.019e-05/0.01206, allocations: 76 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.01236, allocations: 243.6 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.64e-05/0.01245, allocations: 183.3 kB / 280.4 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.01263, allocations: 287.3 kB / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006503/0.01328, allocations: 0.8056 MB / 281.5 MB, free: 8.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.01328, allocations: 0 / 281.5 MB, free: 8.906 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01328, allocations: 4 kB / 281.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.01329, allocations: 0 / 281.5 MB, free: 8.902 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.002227/0.01552, allocations: 1.498 MB / 283 MB, free: 7.367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.01556, allocations: 16.92 kB / 283 MB, free: 7.352 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.01658, allocations: 435.6 kB / 283.4 MB, free: 6.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.01675, allocations: 207.5 kB / 283.6 MB, free: 6.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/0.0168, allocations: 74.38 kB / 283.7 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.01691, allocations: 96.38 kB / 283.8 MB, free: 6.527 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.01803, allocations: 0.737 MB / 284.5 MB, free: 5.777 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.48e-05/0.01808, allocations: 8.125 kB / 284.5 MB, free: 5.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/0.01814, allocations: 40.38 kB / 284.5 MB, free: 5.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.01816, allocations: 27.94 kB / 284.6 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007519/0.01891, allocations: 451.4 kB / 285 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/0.02231, allocations: 2.652 MB / 287.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.0234, allocations: 0.7767 MB / 288.4 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.02372, allocations: 234.8 kB / 288.7 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-05/0.02379, allocations: 24.98 kB / 288.7 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.02382, allocations: 54.33 kB / 288.8 MB, free: 1.371 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.777e-06/0.02382, allocations: 4 kB / 288.8 MB, free: 1.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.001248/0.02507, allocations: 0.773 MB / 289.5 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.02511, allocations: 86.11 kB / 289.6 MB, free: 484 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.02539, allocations: 378 kB / 290 MB, free: 88 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.02542, allocations: 37.7 kB / 290 MB, free: 44 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1182/0.1436, allocations: 443.3 kB / 290.5 MB, free: 23.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003114/0.1439, allocations: 315.6 kB / 290.8 MB, free: 22.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.1442, allocations: 190 kB / 290.9 MB, free: 22.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.1443, allocations: 0.5334 MB / 291.5 MB, free: 22.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.1446, allocations: 154 kB / 291.6 MB, free: 22.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.1449, allocations: 442.9 kB / 292.1 MB, free: 22.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/0.1456, allocations: 0.6373 MB / 292.7 MB, free: 21.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.1456, allocations: 1.406 kB / 292.7 MB, free: 21.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001135/0.1467, allocations: 0.8077 MB / 293.5 MB, free: 21.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.1468, allocations: 7.969 kB / 293.5 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.1468, allocations: 6.391 kB / 293.5 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004671/0.1472, allocations: 155.7 kB / 293.7 MB, free: 21.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.1477, allocations: 207.5 kB / 293.9 MB, free: 21.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.15, allocations: 7.629 MB / 301.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.1503, allocations: 101.5 kB / 301.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.1504, allocations: 41.45 kB / 301.6 MB, free: 14.23 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.0001885/0.1506, allocations: 217.6 kB / 301.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.1507, allocations: 79.27 kB / 301.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008717/0.1515, allocations: 0.682 MB / 302.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.1515, allocations: 8.594 kB / 302.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1515, allocations: 11.83 kB / 302.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1515, allocations: 5.25 kB / 302.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.1534, allocations: 1.419 MB / 304.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.1534, allocations: 3.031 kB / 304.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.1537, allocations: 134.3 kB / 304.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003565/0.1541, allocations: 148 kB / 304.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.1541, allocations: 19.02 kB / 304.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.1559, allocations: 7.085 MB / 311.4 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1559, allocations: 2.781 kB / 311.4 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.1569, allocations: 1.077 MB / 312.5 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.157, allocations: 65.48 kB / 312.6 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.157, allocations: 17.19 kB / 312.6 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.1572, allocations: 26.02 kB / 312.6 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.1573, allocations: 70.78 kB / 312.7 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.1574, allocations: 29.75 kB / 312.7 MB, free: 5.898 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.1575, allocations: 233.7 kB / 313 MB, free: 5.777 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1575, allocations: 0 / 313 MB, free: 5.777 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007917/0.1583, allocations: 265.6 kB / 313.2 MB, free: 5.758 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.0002608/0.1586, allocations: 158.3 kB / 313.4 MB, free: 5.668 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.1597, allocations: 1.206 MB / 314.6 MB, free: 4.926 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1597, allocations: 0 / 314.6 MB, free: 4.926 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.1603, allocations: 0.9382 MB / 315.5 MB, free: 4.172 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/0.1608, allocations: 65.67 kB / 315.6 MB, free: 4.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.1633, allocations: 1.35 MB / 316.9 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.1635, allocations: 152.7 kB / 317.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003661/0.1638, allocations: 106.3 kB / 317.2 MB, free: 3.215 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.164, allocations: 47.88 kB / 317.2 MB, free: 3.207 MB / 266.7 MB Notification: Performance of SimCode: time 1.412e-06/0.164, allocations: 1.375 kB / 317.2 MB, free: 3.207 MB / 266.7 MB Notification: Performance of Templates: time 0.01169/0.1757, allocations: 6.867 MB / 324.1 MB, free: 0.7773 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: 3.1436704508960247]