Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009796/0.0009796, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.038/1.038, allocations: 177 MB / 205.2 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.357e-05, allocations: 5.406 kB / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002856/0.002879, allocations: 2.864 MB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.004148, allocations: 1.176 MB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.00425, allocations: 8 kB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008248/0.005074, allocations: 0.6494 MB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.005316, allocations: 138.9 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000706/0.006022, allocations: 0.6341 MB / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.006339, allocations: 314.4 kB / 278.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.006686, allocations: 227.2 kB / 279 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.006887, allocations: 203.4 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.007021, allocations: 127.7 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.007051, allocations: 28 kB / 279.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.007292, allocations: 179.7 kB / 279.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.007327, allocations: 59.7 kB / 279.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.304e-05/0.0074, allocations: 99.75 kB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.007753, allocations: 382.8 kB / 280.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.007755, allocations: 0 / 280.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.007756, allocations: 0 / 280.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.007759, allocations: 0 / 280.1 MB, free: 10.62 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.0009927/0.008752, allocations: 0.7689 MB / 280.8 MB, free: 9.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.008784, allocations: 12.03 kB / 280.8 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005292/0.009314, allocations: 172.5 kB / 281 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.00952, allocations: 200.9 kB / 281.2 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.009538, allocations: 29.03 kB / 281.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.009576, allocations: 32.38 kB / 281.3 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.009877, allocations: 267.2 kB / 281.5 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.009891, allocations: 4.141 kB / 281.5 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.009913, allocations: 19.92 kB / 281.5 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.009923, allocations: 12 kB / 281.6 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.01012, allocations: 135.8 kB / 281.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.01151, allocations: 1.124 MB / 282.8 MB, free: 7.715 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.01181, allocations: 219.1 kB / 283 MB, free: 7.488 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.151e-05/0.01189, allocations: 67.66 kB / 283.1 MB, free: 7.418 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-05/0.01198, allocations: 19.92 kB / 283.1 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.01199, allocations: 41.39 kB / 283.2 MB, free: 7.348 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.012, allocations: 4 kB / 283.2 MB, free: 7.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006615/0.01266, allocations: 350.5 kB / 283.5 MB, free: 6.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.01268, allocations: 55.41 kB / 283.6 MB, free: 6.926 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.01279, allocations: 214.7 kB / 283.8 MB, free: 6.699 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.01281, allocations: 29.7 kB / 283.8 MB, free: 6.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.01288, allocations: 235 kB / 284 MB, free: 6.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.01293, allocations: 83.28 kB / 284.1 MB, free: 6.348 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.01298, allocations: 63.64 kB / 284.2 MB, free: 6.273 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.01309, allocations: 0.5001 MB / 284.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.278e-05/0.01316, allocations: 40.53 kB / 284.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.01326, allocations: 127.3 kB / 284.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.01342, allocations: 186.6 kB / 285 MB, free: 5.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01343, allocations: 4 kB / 285 MB, free: 5.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003107/0.01374, allocations: 279.1 kB / 285.3 MB, free: 5.062 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.01375, allocations: 8 kB / 285.3 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01376, allocations: 3.938 kB / 285.3 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.01398, allocations: 79.84 kB / 285.4 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.578e-05/0.01406, allocations: 47.91 kB / 285.4 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.01528, allocations: 2.333 MB / 287.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.831e-05/0.01535, allocations: 27.78 kB / 287.8 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.01536, allocations: 12 kB / 287.8 MB, free: 2.43 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 8.397e-05/0.01545, allocations: 172.5 kB / 288 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.01548, allocations: 23.91 kB / 288 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.01578, allocations: 232 kB / 288.2 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01578, allocations: 4 kB / 288.2 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.01578, allocations: 0 / 288.2 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.01578, allocations: 3.938 kB / 288.2 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.01631, allocations: 0.5946 MB / 288.8 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01631, allocations: 4 kB / 288.8 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.257e-05/0.01637, allocations: 23.98 kB / 288.8 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000154/0.01652, allocations: 79.44 kB / 288.9 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.01653, allocations: 12 kB / 288.9 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.01764, allocations: 2.313 MB / 291.2 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01764, allocations: 3.938 kB / 291.3 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.01799, allocations: 423.6 kB / 291.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.01803, allocations: 31.83 kB / 291.7 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.01805, allocations: 4 kB / 291.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.01811, allocations: 11.92 kB / 291.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.01814, allocations: 15.97 kB / 291.7 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.01815, allocations: 8 kB / 291.7 MB, free: 14.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.726e-05/0.0182, allocations: 155.6 kB / 291.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0182, allocations: 0 / 291.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.0185, allocations: 95.78 kB / 292 MB, free: 14.02 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.0001421/0.01864, allocations: 135.1 kB / 292.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003659/0.01901, allocations: 363.8 kB / 292.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01901, allocations: 0 / 292.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.0192, allocations: 301 kB / 292.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.01939, allocations: 23.97 kB / 292.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/0.02019, allocations: 0.5103 MB / 293.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.212e-05/0.02024, allocations: 88.31 kB / 293.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.961e-05/0.0203, allocations: 21.94 kB / 293.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.02033, allocations: 20.5 kB / 293.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02033, allocations: 0 / 293.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of Templates: time 0.004311/0.02464, allocations: 2.719 MB / 296.1 MB, free: 9.789 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.782198996981606]