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.0009914/0.0009914, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001625/0.001625, allocations: 166.2 kB / 24.91 MB, free: 8.758 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 0.9549/0.9549, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.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.2947/0.2947, allocations: 34.86 MB / 296.6 MB, free: 432 kB / 266.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.453e-06/1.453e-06, allocations: 0 / 325.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.697e-05, allocations: 6.969 kB / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007799/0.007826, allocations: 5.188 MB / 331.1 MB, free: 1.867 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.0101, allocations: 1.682 MB / 332.8 MB, free: 176 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.01034, allocations: 20 kB / 332.8 MB, free: 156 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.01203, allocations: 1.676 MB / 334.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.01253, allocations: 317.4 kB / 334.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007033/0.01323, allocations: 0.5139 MB / 335.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006323/0.01386, allocations: 0.8337 MB / 336.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006988/0.01456, allocations: 0.6799 MB / 336.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006193/0.01518, allocations: 0.5028 MB / 337.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004863/0.01567, allocations: 367.1 kB / 337.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.02e-05/0.01574, allocations: 75.94 kB / 337.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.01606, allocations: 203.7 kB / 338 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.01615, allocations: 175.3 kB / 338.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.01634, allocations: 291.3 kB / 338.4 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007414/0.01709, allocations: 0.7666 MB / 339.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.01709, allocations: 0 / 339.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01709, allocations: 0 / 339.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.0171, allocations: 0 / 339.2 MB, free: 9.738 MB / 314.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.002147/0.01925, allocations: 1.351 MB / 340.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.01928, allocations: 8.031 kB / 340.6 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.02034, allocations: 400.2 kB / 341 MB, free: 7.965 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.02049, allocations: 201.2 kB / 341.2 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.02054, allocations: 78.36 kB / 341.2 MB, free: 7.664 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.48e-05/0.02063, allocations: 100.3 kB / 341.3 MB, free: 7.566 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/0.02124, allocations: 0.6799 MB / 342 MB, free: 6.867 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.02127, allocations: 7.938 kB / 342 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.02131, allocations: 43.98 kB / 342.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.02133, allocations: 24 kB / 342.1 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.02165, allocations: 273.8 kB / 342.4 MB, free: 6.527 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.024, allocations: 2.243 MB / 344.6 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007278/0.02472, allocations: 0.6693 MB / 345.3 MB, free: 3.461 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.02485, allocations: 156.4 kB / 345.4 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.105e-05/0.02491, allocations: 28.3 kB / 345.4 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.02494, allocations: 46.89 kB / 345.5 MB, free: 3.215 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.803e-06/0.02494, allocations: 0 / 345.5 MB, free: 3.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.001025/0.02596, allocations: 0.6873 MB / 346.2 MB, free: 2.512 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.02601, allocations: 140.5 kB / 346.3 MB, free: 2.344 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.02618, allocations: 288.6 kB / 346.6 MB, free: 2.051 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.0262, allocations: 33.7 kB / 346.6 MB, free: 2.012 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.02635, allocations: 403.9 kB / 347 MB, free: 1.609 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.02646, allocations: 245.9 kB / 347.3 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.02658, allocations: 150.5 kB / 347.4 MB, free: 1.215 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.02667, allocations: 350.7 kB / 347.8 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.309e-05/0.02675, allocations: 77.95 kB / 347.8 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.02692, allocations: 292.6 kB / 348.1 MB, free: 436 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.02726, allocations: 442.1 kB / 348.5 MB, free: 15.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.02727, allocations: 4 kB / 348.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005464/0.02781, allocations: 0.5443 MB / 349.1 MB, free: 15.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.02783, allocations: 8 kB / 349.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.02784, allocations: 7.938 kB / 349.1 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/0.02837, allocations: 224.1 kB / 349.3 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.02862, allocations: 147.8 kB / 349.5 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00405/0.03267, allocations: 5.303 MB / 354.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004695/0.03314, allocations: 87.5 kB / 354.9 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.03318, allocations: 27.98 kB / 354.9 MB, free: 9.195 MB / 330.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.0002152/0.0334, allocations: 157.6 kB / 355 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/0.03349, allocations: 51.84 kB / 355.1 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000548/0.03404, allocations: 436.9 kB / 355.5 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.03405, allocations: 11.94 kB / 355.5 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.03406, allocations: 4 kB / 355.5 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.03407, allocations: 11.97 kB / 355.5 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.03523, allocations: 0.8886 MB / 356.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.03523, allocations: 0 / 356.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.03538, allocations: 67.91 kB / 356.5 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005373/0.03591, allocations: 219.3 kB / 356.7 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.03596, allocations: 12 kB / 356.7 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003367/0.03932, allocations: 5.291 MB / 362 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.03932, allocations: 0 / 362 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007238/0.04005, allocations: 0.8047 MB / 362.8 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.04012, allocations: 51.52 kB / 362.9 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.04015, allocations: 12 kB / 362.9 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.04038, allocations: 12 kB / 362.9 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.04048, allocations: 55.89 kB / 363 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.0405, allocations: 16.03 kB / 363 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.826e-05/0.04058, allocations: 82.77 kB / 363.1 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04058, allocations: 0 / 363.1 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008325/0.04141, allocations: 283.3 kB / 363.3 MB, free: 308 kB / 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.0002649/0.04167, allocations: 128.2 kB / 363.5 MB, free: 172 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.04315, allocations: 0.8869 MB / 364.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.888e-05/0.04317, allocations: 4.5 kB / 364.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007866/0.04396, allocations: 0.6997 MB / 365 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/0.04463, allocations: 46.58 kB / 365.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.0464, allocations: 1.108 MB / 366.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.04654, allocations: 151.5 kB / 366.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.0467, allocations: 68.42 kB / 366.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.04684, allocations: 95.36 kB / 366.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of SimCode: time 1.974e-06/0.04684, allocations: 0 / 366.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of Templates: time 0.0115/0.05834, allocations: 7.429 MB / 373.9 MB, free: 5.633 MB / 346.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.131334227975458]