Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.00141/0.00141, allocations: 89.17 kB / 21.44 MB, free: 276 kB / 14.72 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.001615/0.001615, allocations: 164.9 kB / 24.71 MB, free: 3.527 MB / 14.72 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.348/1.348, allocations: 158.6 MB / 186.5 MB, free: 6.395 MB / 174.1 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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.668e-05, allocations: 2.281 kB / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004029/0.004056, allocations: 2.521 MB / 301.5 MB, free: 6.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.006284, allocations: 1.13 MB / 302.6 MB, free: 5.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.006475, allocations: 4 kB / 302.6 MB, free: 5.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.008146, allocations: 0.5987 MB / 303.2 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.00851, allocations: 138.9 kB / 303.3 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.00987, allocations: 0.6171 MB / 304 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000522/0.01039, allocations: 310.4 kB / 304.3 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005127/0.01091, allocations: 231.1 kB / 304.5 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.01125, allocations: 187.6 kB / 304.7 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.01149, allocations: 119.7 kB / 304.8 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.01155, allocations: 28 kB / 304.8 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.01194, allocations: 179.6 kB / 305 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.01201, allocations: 63.75 kB / 305.1 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.01214, allocations: 95.77 kB / 305.1 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007305/0.01287, allocations: 0.5062 MB / 305.7 MB, free: 1.984 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.01288, allocations: 0 / 305.7 MB, free: 1.984 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01288, allocations: 0 / 305.7 MB, free: 1.984 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.01289, allocations: 0 / 305.7 MB, free: 1.984 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001833/0.01472, allocations: 0.6457 MB / 306.3 MB, free: 1.309 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.01476, allocations: 12.03 kB / 306.3 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000886/0.01565, allocations: 120.6 kB / 306.4 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.01607, allocations: 205.9 kB / 306.6 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.0161, allocations: 29.02 kB / 306.7 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/0.01616, allocations: 36.38 kB / 306.7 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.01674, allocations: 341.5 kB / 307 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.01676, allocations: 192 / 307 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.0168, allocations: 19.94 kB / 307 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.01681, allocations: 8 kB / 307.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.01726, allocations: 238.5 kB / 307.3 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.01926, allocations: 1.032 MB / 308.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.01977, allocations: 230.6 kB / 308.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.01994, allocations: 92.81 kB / 308.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.877e-05/0.02001, allocations: 8 kB / 308.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.02004, allocations: 38.5 kB / 308.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.02004, allocations: 0 / 308.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001274/0.02132, allocations: 414.2 kB / 309.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.02136, allocations: 51.41 kB / 309.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.02154, allocations: 171 kB / 309.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.02156, allocations: 33.7 kB / 309.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.0217, allocations: 188.2 kB / 309.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.02177, allocations: 83.27 kB / 309.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-05/0.02186, allocations: 57.94 kB / 309.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.02202, allocations: 326.8 kB / 310 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.02215, allocations: 72.47 kB / 310 MB, free: 13.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.02233, allocations: 128.1 kB / 310.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.02267, allocations: 220.1 kB / 310.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.02267, allocations: 0 / 310.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006288/0.0233, allocations: 316.6 kB / 310.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.02332, allocations: 8.031 kB / 310.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.02333, allocations: 7.938 kB / 310.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003433/0.02367, allocations: 80.73 kB / 310.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.02384, allocations: 39.92 kB / 310.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.02607, allocations: 1.892 MB / 312.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.0262, allocations: 23.77 kB / 312.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.02622, allocations: 19.88 kB / 312.8 MB, free: 10.5 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.02639, allocations: 145.8 kB / 312.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.02644, allocations: 19.86 kB / 312.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006078/0.02705, allocations: 284.2 kB / 313.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.02705, allocations: 4 kB / 313.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.02706, allocations: 0 / 313.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.02706, allocations: 3.938 kB / 313.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009798/0.02804, allocations: 0.5847 MB / 313.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02804, allocations: 3.938 kB / 313.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.02817, allocations: 24 kB / 313.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/0.02842, allocations: 72.73 kB / 313.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.02844, allocations: 8 kB / 313.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.03051, allocations: 1.876 MB / 315.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.03051, allocations: 3.938 kB / 315.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007083/0.03122, allocations: 440.5 kB / 316.2 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.03129, allocations: 31.86 kB / 316.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.03132, allocations: 8 kB / 316.3 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.03144, allocations: 3.938 kB / 316.3 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.03149, allocations: 24.08 kB / 316.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.0315, allocations: 8 kB / 316.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.0316, allocations: 115.7 kB / 316.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0316, allocations: 0 / 316.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004805/0.03208, allocations: 111.7 kB / 316.5 MB, free: 6.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002278/0.03231, allocations: 128.3 kB / 316.6 MB, free: 6.434 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006161/0.03293, allocations: 330.3 kB / 317 MB, free: 6.098 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.03293, allocations: 3.938 kB / 317 MB, free: 6.094 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.03328, allocations: 230.6 kB / 317.2 MB, free: 5.855 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.03356, allocations: 16.44 kB / 317.2 MB, free: 5.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.03456, allocations: 0.5223 MB / 317.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.03471, allocations: 142.5 kB / 317.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.553e-05/0.0348, allocations: 21.64 kB / 317.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.03485, allocations: 20.48 kB / 317.9 MB, free: 5.098 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.03485, allocations: 3.938 kB / 317.9 MB, free: 5.094 MB / 302.1 MB Notification: Performance of Templates: time 0.006982/0.04183, allocations: 2.491 MB / 320.4 MB, free: 2.602 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_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/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.413899660110474]