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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 79.75 kB / 22.46 MB, free: 2.082 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 164 kB / 25.75 MB, free: 8.953 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8756/0.8756, allocations: 158.6 MB / 187.5 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.64e-05, allocations: 2.312 kB / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004235/0.004252, allocations: 5.146 MB / 256.3 MB, free: 2.613 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.006463, allocations: 1.682 MB / 257.9 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.006686, allocations: 16 kB / 258 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.008584, allocations: 1.501 MB / 259.5 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.009118, allocations: 329.4 kB / 259.8 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008949/0.01001, allocations: 0.6151 MB / 260.4 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008166/0.01083, allocations: 0.8477 MB / 261.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007431/0.01157, allocations: 0.6636 MB / 261.9 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003994/0.01197, allocations: 0.5183 MB / 262.4 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.01228, allocations: 351 kB / 262.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.989e-05/0.01235, allocations: 76 kB / 262.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.0127, allocations: 251.6 kB / 263.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.37e-05/0.01278, allocations: 179.3 kB / 263.3 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.01296, allocations: 287.3 kB / 263.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008877/0.01385, allocations: 0.8018 MB / 264.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01385, allocations: 0 / 264.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01385, allocations: 0 / 264.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.01386, allocations: 3.938 kB / 264.4 MB, free: 10.47 MB / 250.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.00222/0.01608, allocations: 1.509 MB / 265.9 MB, free: 8.922 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.01611, allocations: 15.98 kB / 265.9 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.01726, allocations: 435.6 kB / 266.3 MB, free: 8.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.01739, allocations: 195.6 kB / 266.5 MB, free: 8.262 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.01744, allocations: 74.38 kB / 266.6 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.896e-05/0.01753, allocations: 100.4 kB / 266.7 MB, free: 8.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008212/0.01836, allocations: 0.7294 MB / 267.4 MB, free: 7.348 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.01838, allocations: 12.14 kB / 267.4 MB, free: 7.336 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.01843, allocations: 40.38 kB / 267.4 MB, free: 7.297 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.01845, allocations: 27.94 kB / 267.5 MB, free: 7.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006341/0.01909, allocations: 447.4 kB / 267.9 MB, free: 6.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.0218, allocations: 2.667 MB / 270.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.02299, allocations: 0.7804 MB / 271.4 MB, free: 3.258 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.02327, allocations: 238.8 kB / 271.6 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.494e-05/0.02332, allocations: 28.92 kB / 271.6 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.02335, allocations: 46.39 kB / 271.7 MB, free: 2.938 MB / 250.7 MB Notification: Performance of pre-optimization done (n=87): time 2.094e-06/0.02335, allocations: 0 / 271.7 MB, free: 2.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=87): time 0.001081/0.02443, allocations: 0.776 MB / 272.4 MB, free: 2.137 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.02446, allocations: 86.11 kB / 272.5 MB, free: 2.035 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.0247, allocations: 378 kB / 272.9 MB, free: 1.645 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.02473, allocations: 37.7 kB / 272.9 MB, free: 1.602 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.02489, allocations: 450.9 kB / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.02504, allocations: 317.3 kB / 273.7 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.0252, allocations: 192.5 kB / 273.9 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.02533, allocations: 0.5274 MB / 274.4 MB, free: 104 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.02556, allocations: 158.5 kB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.02591, allocations: 442.1 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005902/0.0265, allocations: 0.6365 MB / 275.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.0265, allocations: 4 kB / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0008638/0.02737, allocations: 0.8 MB / 276.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.02738, allocations: 11.12 kB / 276.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.02739, allocations: 4 kB / 276.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/0.02776, allocations: 167.3 kB / 276.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.02817, allocations: 207.7 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.031, allocations: 7.619 MB / 284.4 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.03125, allocations: 107.2 kB / 284.5 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.03128, allocations: 36 kB / 284.6 MB, free: 5.199 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.000158/0.03144, allocations: 220.4 kB / 284.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.03152, allocations: 75.72 kB / 284.9 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009917/0.03251, allocations: 0.6852 MB / 285.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.03252, allocations: 12 kB / 285.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.03252, allocations: 0 / 285.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.03253, allocations: 3.984 kB / 285.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.03395, allocations: 1.428 MB / 287 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.03395, allocations: 4 kB / 287 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.03424, allocations: 135.8 kB / 287.1 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000289/0.03453, allocations: 142.6 kB / 287.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.03456, allocations: 20 kB / 287.3 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/0.03716, allocations: 7.08 MB / 294.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.03717, allocations: 4 kB / 294.4 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009492/0.03812, allocations: 1.083 MB / 295.4 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.03816, allocations: 59.53 kB / 295.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.0382, allocations: 23.92 kB / 295.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.03838, allocations: 24 kB / 295.5 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.23e-05/0.03845, allocations: 68.42 kB / 295.6 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.03847, allocations: 23.98 kB / 295.6 MB, free: 9.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.03861, allocations: 235 kB / 295.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03861, allocations: 0 / 295.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005286/0.03913, allocations: 263.5 kB / 296.1 MB, free: 8.922 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.0002013/0.03934, allocations: 159.1 kB / 296.3 MB, free: 8.758 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009346/0.04027, allocations: 1.21 MB / 297.5 MB, free: 7.473 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.04027, allocations: 4.062 kB / 297.5 MB, free: 7.469 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.04076, allocations: 0.9341 MB / 298.4 MB, free: 6.465 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.04111, allocations: 72.45 kB / 298.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.04303, allocations: 1.345 MB / 299.8 MB, free: 4.969 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.244e-05/0.04312, allocations: 151.3 kB / 300 MB, free: 4.801 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002543/0.04338, allocations: 100.9 kB / 300.1 MB, free: 4.699 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.04348, allocations: 56.48 kB / 300.1 MB, free: 4.645 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.04348, allocations: 0 / 300.1 MB, free: 4.645 MB / 282.7 MB Notification: Performance of Templates: time 0.008877/0.05236, allocations: 6.827 MB / 307 MB, free: 13.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] 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","",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.8732364380266517]