Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009804/0.0009804, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001363/0.002344, allocations: 449.8 kB / 10.44 MB, free: 252 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.000766/0.000766, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009664/0.001732, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.14/1.14, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1132/1.253, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3089/0.3089, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03256/0.3415, allocations: 13.1 MB / 291.5 MB, free: 7.336 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.88e-05, allocations: 8.312 kB / 292.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.00634/0.006369, allocations: 5.215 MB / 298 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.008649, allocations: 1.697 MB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.008857, allocations: 20 kB / 299.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.01058, allocations: 1.691 MB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005533/0.01114, allocations: 317.4 kB / 301.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008395/0.01198, allocations: 0.51 MB / 302.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006443/0.01262, allocations: 0.8433 MB / 303.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006882/0.01331, allocations: 0.6333 MB / 303.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004812/0.01379, allocations: 0.5309 MB / 304.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.01416, allocations: 359 kB / 304.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.137e-05/0.01425, allocations: 72 kB / 304.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.0146, allocations: 211.7 kB / 304.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.588e-05/0.01469, allocations: 131.6 kB / 305 MB, free: 9.926 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.01488, allocations: 239.5 kB / 305.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009513/0.01583, allocations: 0.6966 MB / 306 MB, free: 8.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.01584, allocations: 3.938 kB / 306 MB, free: 8.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01584, allocations: 0 / 306 MB, free: 8.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.01585, allocations: 0 / 306 MB, free: 8.988 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.002107/0.01796, allocations: 1.594 MB / 307.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.018, allocations: 8.031 kB / 307.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.01906, allocations: 412.1 kB / 308 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.01922, allocations: 205.2 kB / 308.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.01926, allocations: 74.38 kB / 308.2 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.182e-05/0.01935, allocations: 104.1 kB / 308.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007771/0.02013, allocations: 0.6825 MB / 309 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.02016, allocations: 4 kB / 309 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.0202, allocations: 40 kB / 309.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.02022, allocations: 24 kB / 309.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.02052, allocations: 273.9 kB / 309.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.02277, allocations: 2.258 MB / 311.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.02387, allocations: 0.6753 MB / 312.3 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.024, allocations: 148 kB / 312.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-05/0.02406, allocations: 32.3 kB / 312.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.02409, allocations: 54.62 kB / 312.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.786e-06/0.0241, allocations: 3.984 kB / 312.5 MB, free: 2.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001016/0.02511, allocations: 0.6835 MB / 313.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.02517, allocations: 140.5 kB / 313.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.02534, allocations: 272.6 kB / 313.6 MB, free: 1.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.02537, allocations: 37.7 kB / 313.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.02553, allocations: 419.7 kB / 314.1 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.02565, allocations: 242 kB / 314.3 MB, free: 328 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.02576, allocations: 142.5 kB / 314.4 MB, free: 180 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.02586, allocations: 350.7 kB / 314.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-05/0.02594, allocations: 85.89 kB / 314.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.02612, allocations: 288.6 kB / 315.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.02646, allocations: 459.7 kB / 315.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.02647, allocations: 4 kB / 315.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005347/0.027, allocations: 0.5443 MB / 316.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.02702, allocations: 11.94 kB / 316.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.02703, allocations: 4 kB / 316.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/0.02764, allocations: 231.3 kB / 316.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.02799, allocations: 155.8 kB / 316.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003479/0.03147, allocations: 5.314 MB / 321.9 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.03174, allocations: 83.33 kB / 321.9 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.03178, allocations: 32.09 kB / 322 MB, free: 8.102 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.0001465/0.03192, allocations: 153.7 kB / 322.1 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.03203, allocations: 47.95 kB / 322.2 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005747/0.0326, allocations: 437.8 kB / 322.6 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.03261, allocations: 4 kB / 322.6 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.03261, allocations: 8 kB / 322.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.03262, allocations: 7.922 kB / 322.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.03384, allocations: 0.8914 MB / 323.5 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.03384, allocations: 4 kB / 323.5 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.03403, allocations: 80.08 kB / 323.6 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.03408, allocations: 51.53 kB / 323.6 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005659/0.03465, allocations: 223.2 kB / 323.9 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.03467, allocations: 15.94 kB / 323.9 MB, free: 6.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003187/0.03786, allocations: 5.26 MB / 329.1 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.03786, allocations: 3.938 kB / 329.1 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000723/0.03858, allocations: 0.8104 MB / 329.9 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.03862, allocations: 15.98 kB / 330 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.03886, allocations: 12 kB / 330 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.03894, allocations: 59.83 kB / 330 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.03896, allocations: 20.02 kB / 330 MB, free: 15.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.444e-05/0.03904, allocations: 86.77 kB / 330.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03904, allocations: 0 / 330.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007017/0.03974, allocations: 283.3 kB / 330.4 MB, free: 15.2 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.000193/0.03994, allocations: 120.3 kB / 330.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007893/0.04073, allocations: 0.8954 MB / 331.4 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.922e-05/0.04075, allocations: 12.44 kB / 331.4 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.04127, allocations: 0.7359 MB / 332.2 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/0.04187, allocations: 278.4 kB / 332.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/0.04951, allocations: 1.158 MB / 333.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.04966, allocations: 159 kB / 333.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.04982, allocations: 56.44 kB / 333.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.04992, allocations: 91.36 kB / 333.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.04992, allocations: 0 / 333.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of Templates: time 0.01244/0.06237, allocations: 7.254 MB / 341.2 MB, free: 4.332 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.464295339770615]