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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007616/0.0007616, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.001871, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006456/0.0006456, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009721/0.001618, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9644/0.9644, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1967/1.161, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1609/0.1609, allocations: 32.79 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02611/0.187, allocations: 12.54 MB / 284.5 MB, free: 9.719 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.986e-06/2.986e-06, allocations: 4 kB / 285.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.439e-05, allocations: 5.406 kB / 285.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004965/0.004989, allocations: 5.21 MB / 291 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00288/0.007869, allocations: 1.619 MB / 292.7 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004574/0.008327, allocations: 20 kB / 292.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.01033, allocations: 1.699 MB / 294.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009876/0.01132, allocations: 309.3 kB / 294.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.01241, allocations: 0.6576 MB / 295.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.01369, allocations: 0.8471 MB / 296.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008878/0.01458, allocations: 0.6372 MB / 296.8 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006336/0.01522, allocations: 0.5191 MB / 297.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004724/0.01569, allocations: 351 kB / 297.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.01581, allocations: 76 kB / 297.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005592/0.01637, allocations: 199.7 kB / 298 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.01645, allocations: 131.6 kB / 298.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.01666, allocations: 239.5 kB / 298.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007438/0.0174, allocations: 0.6888 MB / 299 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.756e-05/0.01742, allocations: 8 kB / 299 MB, free: 11.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01742, allocations: 0 / 299 MB, free: 11.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.122e-05/0.01744, allocations: 0 / 299 MB, free: 11.17 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.002427/0.01987, allocations: 1.596 MB / 300.6 MB, free: 9.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.01991, allocations: 8.031 kB / 300.6 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009855/0.02089, allocations: 404.2 kB / 301 MB, free: 9.125 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.02112, allocations: 203.3 kB / 301.2 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/0.02118, allocations: 70.38 kB / 301.3 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.02131, allocations: 108.1 kB / 301.4 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.02197, allocations: 0.6708 MB / 302.1 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.02199, allocations: 7.938 kB / 302.1 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.02204, allocations: 40 kB / 302.1 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.02206, allocations: 24 kB / 302.1 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.02239, allocations: 265.8 kB / 302.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.0249, allocations: 2.238 MB / 304.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007489/0.02565, allocations: 0.6726 MB / 305.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.02579, allocations: 144.4 kB / 305.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.897e-05/0.02585, allocations: 32.3 kB / 305.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.02588, allocations: 50.62 kB / 305.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.264e-06/0.02589, allocations: 0 / 305.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001051/0.02694, allocations: 0.6971 MB / 306.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.02699, allocations: 140.5 kB / 306.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.02716, allocations: 272.7 kB / 306.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.02719, allocations: 33.7 kB / 306.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.02735, allocations: 419.8 kB / 307.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.02746, allocations: 237.9 kB / 307.3 MB, free: 2.555 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.02758, allocations: 146.5 kB / 307.4 MB, free: 2.406 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.02767, allocations: 354.7 kB / 307.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.02776, allocations: 73.97 kB / 307.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.02797, allocations: 284.6 kB / 308.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.02834, allocations: 459.2 kB / 308.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.02835, allocations: 0 / 308.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005981/0.02895, allocations: 0.5482 MB / 309.1 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.02897, allocations: 8 kB / 309.1 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.02899, allocations: 8 kB / 309.1 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006306/0.02962, allocations: 235.3 kB / 309.4 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.02987, allocations: 155.8 kB / 309.5 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/0.0327, allocations: 5.317 MB / 314.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.03293, allocations: 87.44 kB / 314.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.03296, allocations: 27.98 kB / 315 MB, free: 10.33 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.0001526/0.03311, allocations: 157.6 kB / 315.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.03319, allocations: 47.97 kB / 315.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004579/0.03364, allocations: 427.6 kB / 315.6 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.03365, allocations: 8 kB / 315.6 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.03365, allocations: 11.98 kB / 315.6 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.03366, allocations: 0 / 315.6 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.03472, allocations: 0.8875 MB / 316.5 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.03472, allocations: 0 / 316.5 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.03486, allocations: 75.91 kB / 316.6 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.03491, allocations: 67.44 kB / 316.6 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/0.03534, allocations: 215.2 kB / 316.8 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.03537, allocations: 15.98 kB / 316.9 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/0.03782, allocations: 5.251 MB / 322.1 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.03782, allocations: 0 / 322.1 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007196/0.03854, allocations: 0.8212 MB / 322.9 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.03858, allocations: 15.94 kB / 322.9 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.03882, allocations: 12 kB / 323 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/0.03891, allocations: 59.83 kB / 323 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.03893, allocations: 12 kB / 323 MB, free: 1.812 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.94e-05/0.03902, allocations: 86.75 kB / 323.1 MB, free: 1.727 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03902, allocations: 0 / 323.1 MB, free: 1.727 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009019/0.03992, allocations: 283.4 kB / 323.4 MB, free: 1.449 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.0002219/0.04014, allocations: 112.3 kB / 323.5 MB, free: 1.328 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009105/0.04105, allocations: 0.8923 MB / 324.4 MB, free: 392 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.688e-05/0.04108, allocations: 8.5 kB / 324.4 MB, free: 384 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1568/0.1979, allocations: 0.7286 MB / 325.1 MB, free: 25.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.1985, allocations: 273.3 kB / 325.4 MB, free: 24.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/0.2049, allocations: 1.18 MB / 326.6 MB, free: 24.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.2052, allocations: 158.5 kB / 326.7 MB, free: 24.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.2054, allocations: 52.77 kB / 326.8 MB, free: 24.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.2055, allocations: 92.86 kB / 326.9 MB, free: 24.19 MB / 314.7 MB Notification: Performance of SimCode: time 2.395e-06/0.2055, allocations: 0 / 326.9 MB, free: 24.19 MB / 314.7 MB Notification: Performance of Templates: time 0.01227/0.2177, allocations: 7.124 MB / 334 MB, free: 23.48 MB / 314.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.243039964698255]