Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.00115/0.00115, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001609/0.002759, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001029/0.001029, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.002466, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.046/1.046, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1134/1.159, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.331/0.331, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02853/0.3596, allocations: 13.23 MB / 292.8 MB, free: 6.387 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.289e-05, allocations: 6.969 kB / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004449/0.004472, allocations: 5.225 MB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.007186, allocations: 1.694 MB / 301 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.007471, allocations: 23.94 kB / 301 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.009432, allocations: 1.684 MB / 302.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000609/0.01004, allocations: 317.4 kB / 303 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008315/0.01087, allocations: 0.5022 MB / 303.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007548/0.01163, allocations: 0.8394 MB / 304.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009854/0.01261, allocations: 0.6411 MB / 305 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005821/0.01319, allocations: 0.5269 MB / 305.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004067/0.0136, allocations: 355.1 kB / 305.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.132e-05/0.01368, allocations: 72 kB / 306 MB, free: 9.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.01407, allocations: 203.7 kB / 306.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.01415, allocations: 135.5 kB / 306.3 MB, free: 8.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.01432, allocations: 243.5 kB / 306.5 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006733/0.015, allocations: 0.7044 MB / 307.2 MB, free: 7.875 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/0.01501, allocations: 0 / 307.2 MB, free: 7.875 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01501, allocations: 0 / 307.2 MB, free: 7.875 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.01503, allocations: 0 / 307.2 MB, free: 7.875 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002431/0.01746, allocations: 1.594 MB / 308.8 MB, free: 6.234 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.01749, allocations: 8.922 kB / 308.8 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.01857, allocations: 416.1 kB / 309.2 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.01875, allocations: 201.2 kB / 309.4 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.0188, allocations: 74.38 kB / 309.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.01891, allocations: 108.1 kB / 309.6 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006031/0.01951, allocations: 0.6755 MB / 310.3 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.01954, allocations: 11.97 kB / 310.3 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.01958, allocations: 40 kB / 310.3 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.0196, allocations: 28 kB / 310.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.01992, allocations: 272.2 kB / 310.6 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.02231, allocations: 2.247 MB / 312.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/0.02305, allocations: 0.6836 MB / 313.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.02316, allocations: 141.1 kB / 313.7 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.24e-05/0.02323, allocations: 36.28 kB / 313.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.02325, allocations: 50.62 kB / 313.8 MB, free: 1.055 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.673e-06/0.02326, allocations: 0 / 313.8 MB, free: 1.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009998/0.02426, allocations: 0.6888 MB / 314.5 MB, free: 360 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.0243, allocations: 140.6 kB / 314.6 MB, free: 188 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.02448, allocations: 276.6 kB / 314.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.02451, allocations: 37.7 kB / 314.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.02465, allocations: 423.6 kB / 315.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/0.02501, allocations: 237.9 kB / 315.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.02512, allocations: 142.5 kB / 315.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.02521, allocations: 354.7 kB / 316.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.696e-05/0.02528, allocations: 77.95 kB / 316.1 MB, free: 14.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.02545, allocations: 292.5 kB / 316.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.02578, allocations: 459.7 kB / 316.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.02578, allocations: 0 / 316.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005282/0.02631, allocations: 0.556 MB / 317.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.02633, allocations: 4 kB / 317.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.02634, allocations: 8 kB / 317.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005188/0.02686, allocations: 247.9 kB / 317.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.02711, allocations: 155.8 kB / 317.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/0.02995, allocations: 5.3 MB / 323.1 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.03018, allocations: 83.34 kB / 323.2 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.0302, allocations: 31.98 kB / 323.2 MB, free: 6.988 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * 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,4,100.0%), (1,4,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.03033, allocations: 153.6 kB / 323.4 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.0304, allocations: 47.95 kB / 323.4 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.03083, allocations: 431.6 kB / 323.9 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.03083, allocations: 8 kB / 323.9 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.03084, allocations: 7.984 kB / 323.9 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.03085, allocations: 4 kB / 323.9 MB, free: 6.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009613/0.03181, allocations: 0.9042 MB / 324.8 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.03181, allocations: 0 / 324.8 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.03194, allocations: 75.89 kB / 324.9 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.03199, allocations: 55.53 kB / 324.9 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004472/0.03243, allocations: 228.5 kB / 325.1 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.03246, allocations: 16 kB / 325.1 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.03505, allocations: 5.259 MB / 330.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.03505, allocations: 0 / 330.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.03561, allocations: 0.8008 MB / 331.2 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.03564, allocations: 20.06 kB / 331.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.03579, allocations: 12 kB / 331.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/0.03588, allocations: 59.83 kB / 331.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.03589, allocations: 15.94 kB / 331.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.781e-05/0.03596, allocations: 86.75 kB / 331.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03596, allocations: 0 / 331.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006322/0.03659, allocations: 279.3 kB / 331.7 MB, free: 14.09 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * 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,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001925/0.03678, allocations: 128.3 kB / 331.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006639/0.03745, allocations: 0.8964 MB / 332.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/0.03746, allocations: 8.5 kB / 332.7 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.03789, allocations: 0.7421 MB / 333.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.03832, allocations: 281.6 kB / 333.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005573/0.04389, allocations: 1.152 MB / 334.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.04401, allocations: 162.9 kB / 335 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.04414, allocations: 52.44 kB / 335.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.224e-05/0.04423, allocations: 95.36 kB / 335.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.04423, allocations: 4 kB / 335.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of Templates: time 0.01043/0.05466, allocations: 7.25 MB / 342.4 MB, free: 3.242 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3062356784939766]