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.002127/0.002127, allocations: 99.53 kB / 21.74 MB, free: 2.684 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.001959/0.001959, allocations: 159.8 kB / 25.03 MB, free: 8.926 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 1.424/1.424, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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 2.104e-06/2.104e-06, allocations: 0 / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.317e-05, allocations: 2.312 kB / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.01271/0.01274, allocations: 5.119 MB / 255.5 MB, free: 2.668 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005721/0.01846, allocations: 1.671 MB / 257.2 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.01887, allocations: 16 kB / 257.2 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003757/0.02263, allocations: 1.505 MB / 258.7 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009348/0.02356, allocations: 321.5 kB / 259 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.02508, allocations: 0.6306 MB / 259.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.02625, allocations: 0.8399 MB / 260.5 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.02741, allocations: 0.6636 MB / 261.1 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007375/0.02815, allocations: 0.5145 MB / 261.6 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005481/0.0287, allocations: 355 kB / 262 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.02882, allocations: 72 kB / 262.1 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005937/0.02942, allocations: 255.6 kB / 262.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.0296, allocations: 179.3 kB / 262.5 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003499/0.02995, allocations: 283.3 kB / 262.8 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.0316, allocations: 1.223 MB / 264 MB, free: 10.12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.03161, allocations: 0 / 264 MB, free: 10.12 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.03161, allocations: 0 / 264 MB, free: 10.12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.03162, allocations: 0 / 264 MB, free: 10.12 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.004357/0.03598, allocations: 1.556 MB / 265.5 MB, free: 8.523 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.03602, allocations: 11.98 kB / 265.6 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.03796, allocations: 435.6 kB / 266 MB, free: 8.086 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.03823, allocations: 207.5 kB / 266.2 MB, free: 7.855 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.191e-05/0.03831, allocations: 74.38 kB / 266.3 MB, free: 7.781 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.03848, allocations: 100.3 kB / 266.4 MB, free: 7.684 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.04024, allocations: 0.9795 MB / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.04028, allocations: 4.141 kB / 267.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.933e-05/0.04037, allocations: 44.38 kB / 267.4 MB, free: 6.645 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.04039, allocations: 23.94 kB / 267.4 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.04186, allocations: 0.7533 MB / 268.2 MB, free: 5.867 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005831/0.04769, allocations: 3.052 MB / 271.2 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.0497, allocations: 0.9173 MB / 272.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/0.05029, allocations: 350.6 kB / 272.5 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.0504, allocations: 24.98 kB / 272.5 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.05044, allocations: 46.39 kB / 272.5 MB, free: 1.348 MB / 250.7 MB Notification: Performance of pre-optimization done (n=87): time 3.246e-06/0.05045, allocations: 0 / 272.5 MB, free: 1.348 MB / 250.7 MB Notification: Performance of matching and sorting (n=87): time 0.002341/0.05279, allocations: 1.015 MB / 273.6 MB, free: 316 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.05287, allocations: 90.05 kB / 273.6 MB, free: 208 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/0.05345, allocations: 445.9 kB / 274.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.0535, allocations: 41.7 kB / 274.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.05386, allocations: 454.9 kB / 274.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.05418, allocations: 333.3 kB / 274.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/0.05452, allocations: 204.5 kB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003334/0.05485, allocations: 0.5547 MB / 275.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/0.05535, allocations: 258.5 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007799/0.05613, allocations: 0.5528 MB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.05748, allocations: 0.8709 MB / 277.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.05748, allocations: 0 / 277.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001918/0.0594, allocations: 1.019 MB / 278.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.05942, allocations: 4 kB / 278.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.05943, allocations: 8.719 kB / 278.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008007/0.06023, allocations: 178.6 kB / 278.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008414/0.06107, allocations: 207.7 kB / 278.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006873/0.06795, allocations: 7.884 MB / 286.6 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/0.06865, allocations: 103.2 kB / 286.7 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-05/0.06872, allocations: 36 kB / 286.7 MB, free: 2.297 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.0004043/0.06912, allocations: 280.4 kB / 287 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.06929, allocations: 79.67 kB / 287.1 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.07104, allocations: 0.8649 MB / 288 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.07105, allocations: 8 kB / 288 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.07106, allocations: 8 kB / 288 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.07107, allocations: 3.984 kB / 288 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.07441, allocations: 1.76 MB / 289.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.07442, allocations: 4 kB / 289.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/0.07502, allocations: 135.8 kB / 289.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007013/0.07572, allocations: 158.8 kB / 290 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/0.07577, allocations: 20 kB / 290.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006061/0.08183, allocations: 7.301 MB / 297.4 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.08184, allocations: 4 kB / 297.4 MB, free: 7.043 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.08409, allocations: 1.407 MB / 298.8 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.08423, allocations: 55.52 kB / 298.8 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.07e-05/0.08431, allocations: 20 kB / 298.8 MB, free: 5.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.08471, allocations: 20 kB / 298.9 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.08485, allocations: 72.41 kB / 298.9 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/0.0849, allocations: 24 kB / 299 MB, free: 5.375 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005699/0.08547, allocations: 271 kB / 299.2 MB, free: 5.109 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.08547, allocations: 0 / 299.2 MB, free: 5.109 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000988/0.08646, allocations: 275.5 kB / 299.5 MB, free: 4.84 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.0002997/0.08676, allocations: 155.2 kB / 299.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002048/0.08881, allocations: 1.405 MB / 301 MB, free: 3.199 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.08881, allocations: 4 kB / 301.1 MB, free: 3.195 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.09, allocations: 1.024 MB / 302.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.09056, allocations: 65.39 kB / 302.1 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.09357, allocations: 1.43 MB / 303.6 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.09397, allocations: 322.2 kB / 303.9 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004539/0.09443, allocations: 101 kB / 304 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.09458, allocations: 48.48 kB / 304 MB, free: 44 kB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.09459, allocations: 0 / 304 MB, free: 44 kB / 282.7 MB Notification: Performance of Templates: time 0.01617/0.1108, allocations: 6.826 MB / 310.9 MB, free: 9.258 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.934773443033919]