Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001116/0.001116, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001571/0.002688, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001143/0.001143, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005827/0.00697, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.03/1.03, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.122/1.151, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3402/0.3402, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0331/0.3733, allocations: 12.54 MB / 289.3 MB, free: 8.672 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.314e-05, allocations: 4.422 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007062/0.007085, allocations: 5.227 MB / 295.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002994/0.01008, allocations: 1.689 MB / 297.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.01033, allocations: 23.94 kB / 297.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.01283, allocations: 1.68 MB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006028/0.01344, allocations: 333.3 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009634/0.0144, allocations: 0.4984 MB / 300 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008228/0.01522, allocations: 0.8355 MB / 300.9 MB, free: 14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009829/0.0162, allocations: 0.645 MB / 301.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000641/0.01685, allocations: 0.5346 MB / 302.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005754/0.01742, allocations: 355.1 kB / 302.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.01753, allocations: 76 kB / 302.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004197/0.01795, allocations: 199.7 kB / 302.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.01807, allocations: 135.5 kB / 302.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.01835, allocations: 239.5 kB / 303 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009399/0.01929, allocations: 0.7045 MB / 303.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.3e-05/0.01931, allocations: 0 / 303.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01932, allocations: 0 / 303.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.487e-05/0.01934, allocations: 4 kB / 303.7 MB, free: 11.1 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.003232/0.02257, allocations: 1.601 MB / 305.3 MB, free: 9.453 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.02262, allocations: 8.031 kB / 305.4 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009825/0.02361, allocations: 404.2 kB / 305.7 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.02379, allocations: 205.2 kB / 306 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.437e-05/0.02385, allocations: 74.38 kB / 306 MB, free: 8.754 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.595e-05/0.02394, allocations: 108.1 kB / 306.1 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006649/0.02461, allocations: 0.6748 MB / 306.8 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.02463, allocations: 0 / 306.8 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/0.02468, allocations: 40 kB / 306.8 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.0247, allocations: 28 kB / 306.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003386/0.02504, allocations: 278.7 kB / 307.1 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.0278, allocations: 2.254 MB / 309.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/0.02856, allocations: 0.6702 MB / 310.1 MB, free: 4.535 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.0287, allocations: 153.1 kB / 310.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-05/0.02876, allocations: 36.3 kB / 310.3 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.02879, allocations: 46.69 kB / 310.3 MB, free: 4.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.494e-06/0.0288, allocations: 0 / 310.3 MB, free: 4.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001077/0.02987, allocations: 0.6947 MB / 311 MB, free: 3.578 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.02993, allocations: 136.5 kB / 311.1 MB, free: 3.414 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.03011, allocations: 288.6 kB / 311.4 MB, free: 3.121 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.03013, allocations: 37.7 kB / 311.4 MB, free: 3.078 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.03029, allocations: 411.8 kB / 311.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.03041, allocations: 241.9 kB / 312.1 MB, free: 2.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.03054, allocations: 150.5 kB / 312.2 MB, free: 2.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.03065, allocations: 350.7 kB / 312.6 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.079e-05/0.03073, allocations: 77.95 kB / 312.6 MB, free: 1.852 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.03091, allocations: 284.6 kB / 312.9 MB, free: 1.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.03125, allocations: 438.1 kB / 313.4 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.03125, allocations: 4 kB / 313.4 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005589/0.03181, allocations: 0.552 MB / 313.9 MB, free: 420 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.03183, allocations: 10.34 kB / 313.9 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.03184, allocations: 8 kB / 313.9 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005313/0.03237, allocations: 227.3 kB / 314.1 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.03265, allocations: 155.7 kB / 314.3 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/0.03577, allocations: 5.314 MB / 319.6 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.03595, allocations: 87.42 kB / 319.7 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.03598, allocations: 28 kB / 319.7 MB, free: 10.23 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.0001358/0.03611, allocations: 157.6 kB / 319.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.03618, allocations: 47.95 kB / 319.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.03667, allocations: 435.6 kB / 320.4 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.03667, allocations: 8 kB / 320.4 MB, free: 9.566 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.03668, allocations: 4 kB / 320.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.03668, allocations: 3.984 kB / 320.4 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009586/0.03764, allocations: 0.8899 MB / 321.3 MB, free: 8.633 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.03764, allocations: 0 / 321.3 MB, free: 8.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.03778, allocations: 84.08 kB / 321.3 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.03782, allocations: 47.53 kB / 321.4 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/0.03826, allocations: 223.2 kB / 321.6 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.03828, allocations: 12 kB / 321.6 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.04077, allocations: 5.262 MB / 326.9 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.04077, allocations: 0 / 326.9 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.04135, allocations: 0.8076 MB / 327.7 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.04138, allocations: 12 kB / 327.7 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.04153, allocations: 12 kB / 327.7 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.04159, allocations: 59.83 kB / 327.8 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.0416, allocations: 20.02 kB / 327.8 MB, free: 1.707 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.366e-05/0.04167, allocations: 78.78 kB / 327.9 MB, free: 1.629 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04167, allocations: 3.938 kB / 327.9 MB, free: 1.625 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005511/0.04222, allocations: 279.3 kB / 328.1 MB, free: 1.352 MB / 314.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.0002351/0.04245, allocations: 132.2 kB / 328.3 MB, free: 1.215 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.04352, allocations: 0.8868 MB / 329.2 MB, free: 284 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-05/0.04354, allocations: 8.5 kB / 329.2 MB, free: 276 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.04396, allocations: 0.6925 MB / 329.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.04436, allocations: 96.28 kB / 330 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.04976, allocations: 1.164 MB / 331.1 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.04987, allocations: 159.5 kB / 331.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.05003, allocations: 60.44 kB / 331.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.05014, allocations: 103.4 kB / 331.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.05014, allocations: 4 kB / 331.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of Templates: time 0.01115/0.06129, allocations: 7.502 MB / 338.9 MB, free: 6.469 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.386095910333097]