Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001916/0.001916, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00201/0.00201, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.681e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004878/0.004905, allocations: 2.84 MB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.00721, allocations: 1.16 MB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.00733, allocations: 12 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.009052, allocations: 0.6493 MB / 277 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.009399, allocations: 147 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.0109, allocations: 0.6265 MB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004465/0.01135, allocations: 314.3 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004656/0.01182, allocations: 235.1 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.01213, allocations: 199.5 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.01236, allocations: 123.7 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.01241, allocations: 28 kB / 278.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.01278, allocations: 179.7 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.01285, allocations: 59.75 kB / 278.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.0131, allocations: 99.75 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007461/0.01385, allocations: 0.5217 MB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01385, allocations: 0 / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01385, allocations: 4 kB / 279.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.01386, allocations: 0 / 279.5 MB, free: 10.63 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001818/0.01568, allocations: 0.7803 MB / 280.3 MB, free: 9.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.01571, allocations: 8.031 kB / 280.3 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009311/0.01664, allocations: 176.5 kB / 280.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.01698, allocations: 204.9 kB / 280.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.01701, allocations: 24.97 kB / 280.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.01707, allocations: 32.38 kB / 280.7 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.01769, allocations: 347.3 kB / 281 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.01771, allocations: 4.188 kB / 281 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.01775, allocations: 19.92 kB / 281.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.01776, allocations: 8 kB / 281.1 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.01822, allocations: 230.5 kB / 281.3 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.0207, allocations: 1.245 MB / 282.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.02128, allocations: 255 kB / 282.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.02147, allocations: 95.66 kB / 282.9 MB, free: 7.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.02159, allocations: 15.98 kB / 282.9 MB, free: 7.055 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.02163, allocations: 41.39 kB / 282.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.223e-06/0.02163, allocations: 0 / 282.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001344/0.02298, allocations: 433.1 kB / 283.4 MB, free: 6.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.02303, allocations: 55.41 kB / 283.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.02326, allocations: 237.6 kB / 283.6 MB, free: 6.258 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.02329, allocations: 29.7 kB / 283.7 MB, free: 6.223 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.02347, allocations: 235 kB / 283.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/0.02356, allocations: 95.28 kB / 284 MB, free: 5.895 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.02368, allocations: 59.64 kB / 284.1 MB, free: 5.824 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002885/0.02396, allocations: 0.5079 MB / 284.6 MB, free: 5.305 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.0241, allocations: 68.53 kB / 284.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.02433, allocations: 159.6 kB / 284.8 MB, free: 5.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.02471, allocations: 250.6 kB / 285 MB, free: 4.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.02472, allocations: 0 / 285 MB, free: 4.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006725/0.02539, allocations: 343.2 kB / 285.4 MB, free: 4.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.0254, allocations: 4 kB / 285.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.02541, allocations: 7.938 kB / 285.4 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/0.02582, allocations: 91.84 kB / 285.5 MB, free: 4.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.02598, allocations: 39.92 kB / 285.5 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.02876, allocations: 2.536 MB / 288 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.0289, allocations: 27.72 kB / 288.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.02892, allocations: 12 kB / 288.1 MB, free: 1.586 MB / 266.7 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.0001905/0.02912, allocations: 188.6 kB / 288.3 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.02917, allocations: 23.89 kB / 288.3 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006462/0.02982, allocations: 294.2 kB / 288.6 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.02983, allocations: 4 kB / 288.6 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.02983, allocations: 0 / 288.6 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.02983, allocations: 3.938 kB / 288.6 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.03099, allocations: 0.6909 MB / 289.3 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.03099, allocations: 4 kB / 289.3 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.03112, allocations: 31.92 kB / 289.3 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003324/0.03145, allocations: 87.56 kB / 289.4 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.03147, allocations: 4 kB / 289.4 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002871/0.03434, allocations: 2.509 MB / 291.9 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.03435, allocations: 3.938 kB / 291.9 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.03516, allocations: 0.4997 MB / 292.4 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.03523, allocations: 35.89 kB / 292.5 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.03526, allocations: 7.984 kB / 292.5 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.03538, allocations: 11.94 kB / 292.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.03543, allocations: 11.97 kB / 292.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.03545, allocations: 12 kB / 292.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001407/0.03559, allocations: 166 kB / 292.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03559, allocations: 0 / 292.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005053/0.0361, allocations: 99.78 kB / 292.8 MB, free: 12.7 MB / 282.7 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.0002457/0.03634, allocations: 135.1 kB / 292.9 MB, free: 12.56 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007378/0.03708, allocations: 419 kB / 293.3 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.03708, allocations: 448 / 293.3 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.03753, allocations: 321.2 kB / 293.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.03784, allocations: 20.75 kB / 293.6 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.03888, allocations: 0.521 MB / 294.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.03906, allocations: 154.1 kB / 294.3 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.673e-05/0.03915, allocations: 21.94 kB / 294.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.0392, allocations: 24.5 kB / 294.3 MB, free: 11.02 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0392, allocations: 0 / 294.3 MB, free: 11.02 MB / 282.7 MB Notification: Performance of Templates: time 0.008188/0.04739, allocations: 2.714 MB / 297.1 MB, free: 8.328 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.6338696390157565]