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.00147/0.00147, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002477/0.003947, 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.001313/0.001313, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001671/0.002985, 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 0.9717/0.9717, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09494/1.067, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.2755/0.2755, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02248/0.298, allocations: 13.1 MB / 291.3 MB, free: 7.363 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.533e-06/1.533e-06, allocations: 0 / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.385e-05, allocations: 5.438 kB / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004354/0.004378, allocations: 5.213 MB / 297.8 MB, free: 1.074 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.006937, allocations: 1.701 MB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.007208, allocations: 20 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.009012, allocations: 1.688 MB / 301.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005548/0.009567, allocations: 329.3 kB / 301.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007479/0.01031, allocations: 0.4905 MB / 302 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000738/0.01105, allocations: 0.8433 MB / 302.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006999/0.01175, allocations: 0.6411 MB / 303.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004837/0.01224, allocations: 0.5346 MB / 304.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/0.01258, allocations: 355.1 kB / 304.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-05/0.01265, allocations: 79.94 kB / 304.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.013, allocations: 191.8 kB / 304.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-05/0.01307, allocations: 135.5 kB / 304.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.01324, allocations: 239.5 kB / 305 MB, free: 9.809 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006415/0.01388, allocations: 0.7084 MB / 305.8 MB, free: 9.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.621e-05/0.0139, allocations: 0 / 305.8 MB, free: 9.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.0139, allocations: 0 / 305.8 MB, free: 9.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.01392, allocations: 0 / 305.8 MB, free: 9.098 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.002008/0.01593, allocations: 1.605 MB / 307.4 MB, free: 7.445 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.01596, allocations: 8.031 kB / 307.4 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008973/0.01685, allocations: 408.1 kB / 307.8 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.01702, allocations: 197.3 kB / 308 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/0.01707, allocations: 74.38 kB / 308 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.356e-05/0.01716, allocations: 108.1 kB / 308.1 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.01771, allocations: 0.6786 MB / 308.8 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.01773, allocations: 3.984 kB / 308.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.01778, allocations: 40 kB / 308.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.01779, allocations: 24 kB / 308.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.01809, allocations: 285.9 kB / 309.2 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.02027, allocations: 2.254 MB / 311.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000858/0.02113, allocations: 0.6629 MB / 312.1 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.02126, allocations: 157 kB / 312.2 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.374e-05/0.02132, allocations: 40.3 kB / 312.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.02135, allocations: 50.67 kB / 312.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.774e-06/0.02135, allocations: 0 / 312.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009697/0.02232, allocations: 0.6896 MB / 313 MB, free: 1.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.02236, allocations: 148.4 kB / 313.2 MB, free: 1.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.02253, allocations: 280.6 kB / 313.4 MB, free: 1.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.02255, allocations: 33.7 kB / 313.5 MB, free: 1.062 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.02271, allocations: 407.7 kB / 313.9 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.02281, allocations: 245.9 kB / 314.1 MB, free: 424 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.02292, allocations: 146.5 kB / 314.2 MB, free: 272 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.02301, allocations: 350.7 kB / 314.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.619e-05/0.02309, allocations: 77.95 kB / 314.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.02325, allocations: 292.6 kB / 314.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.02356, allocations: 438 kB / 315.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.02357, allocations: 4 kB / 315.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005109/0.02408, allocations: 0.5482 MB / 315.9 MB, free: 14.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.0241, allocations: 8 kB / 315.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.02411, allocations: 4 kB / 315.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000506/0.02461, allocations: 235.2 kB / 316.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.02488, allocations: 155.7 kB / 316.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.0273, allocations: 5.306 MB / 321.6 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.0275, allocations: 83.33 kB / 321.7 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.02753, allocations: 28.28 kB / 321.7 MB, free: 8.227 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.0001245/0.02765, allocations: 165.6 kB / 321.9 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.02772, allocations: 47.95 kB / 321.9 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.02815, allocations: 431.7 kB / 322.4 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.02815, allocations: 12 kB / 322.4 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.02816, allocations: 4 kB / 322.4 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.02816, allocations: 3.984 kB / 322.4 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009125/0.02908, allocations: 0.8866 MB / 323.3 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.02908, allocations: 4 kB / 323.3 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.02922, allocations: 83.89 kB / 323.4 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.02926, allocations: 47.53 kB / 323.4 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004418/0.0297, allocations: 219.2 kB / 323.6 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.02972, allocations: 12 kB / 323.6 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/0.03198, allocations: 5.264 MB / 328.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.03199, allocations: 0 / 328.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.03254, allocations: 0.8117 MB / 329.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.03258, allocations: 12 kB / 329.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.03273, allocations: 12 kB / 329.7 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.03282, allocations: 59.83 kB / 329.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.03284, allocations: 12 kB / 329.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.686e-05/0.03291, allocations: 86.8 kB / 329.9 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03291, allocations: 0 / 329.9 MB, free: 15.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005789/0.03349, allocations: 279.3 kB / 330.2 MB, free: 15.34 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.0001731/0.03366, allocations: 132.6 kB / 330.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006788/0.03434, allocations: 0.883 MB / 331.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.875e-05/0.03436, allocations: 12.5 kB / 331.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.03475, allocations: 0.6922 MB / 331.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.03511, allocations: 98.16 kB / 332 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005362/0.04047, allocations: 1.16 MB / 333.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.0406, allocations: 159.5 kB / 333.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.04075, allocations: 64.42 kB / 333.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.04085, allocations: 103.4 kB / 333.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.04085, allocations: 0 / 333.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of Templates: time 0.009977/0.05083, allocations: 7.521 MB / 341 MB, free: 4.445 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.164815092459321]