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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.00152, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 104.6 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3712/0.3712, allocations: 44.13 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 55.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3783, allocations: 60.81 MB / 0.5064 GB, free: 38.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005621/0.384, allocations: 5.288 MB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.3867, allocations: 1.565 MB / 0.5131 GB, free: 33.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.387, allocations: 17.12 kB / 0.5131 GB, free: 33.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003279/0.3903, allocations: 1.508 MB / 0.5146 GB, free: 32.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009469/0.3913, allocations: 260.5 kB / 0.5148 GB, free: 32.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.3929, allocations: 0.6425 MB / 0.5155 GB, free: 31.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009874/0.3939, allocations: 0.7841 MB / 0.5162 GB, free: 31.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.3953, allocations: 0.6696 MB / 0.5169 GB, free: 30.92 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005294/0.3958, allocations: 318 kB / 0.5172 GB, free: 30.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006211/0.3964, allocations: 448.4 kB / 0.5176 GB, free: 30.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.3966, allocations: 57.88 kB / 0.5177 GB, free: 30.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005962/0.3972, allocations: 177.2 kB / 0.5178 GB, free: 30.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.3973, allocations: 153.2 kB / 0.518 GB, free: 30.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000464/0.3978, allocations: 411.2 kB / 0.5184 GB, free: 30.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.3993, allocations: 1.144 MB / 0.5195 GB, free: 29.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3994, allocations: 0 / 0.5195 GB, free: 29.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3994, allocations: 0 / 0.5195 GB, free: 29.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.235e-05/0.3994, allocations: 0 / 0.5195 GB, free: 29.69 MB / 378.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.004664/0.4041, allocations: 1.352 MB / 0.5208 GB, free: 28.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.4042, allocations: 8.5 kB / 0.5208 GB, free: 28.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.4063, allocations: 225.9 kB / 0.521 GB, free: 28.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.4066, allocations: 256.5 kB / 0.5213 GB, free: 28.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.4068, allocations: 81.66 kB / 0.5214 GB, free: 28.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/0.4071, allocations: 99.81 kB / 0.5214 GB, free: 28.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.409, allocations: 0.9334 MB / 0.5224 GB, free: 28.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.4091, allocations: 6.781 kB / 0.5224 GB, free: 28.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.4092, allocations: 39.62 kB / 0.5224 GB, free: 28.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.4093, allocations: 27.03 kB / 0.5224 GB, free: 28.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.4109, allocations: 0.7176 MB / 0.5231 GB, free: 27.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005793/0.4167, allocations: 3.947 MB / 0.527 GB, free: 24.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.4194, allocations: 3.367 MB / 0.5303 GB, free: 21.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/0.4199, allocations: 305.2 kB / 0.5306 GB, free: 21.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.4201, allocations: 97.48 kB / 0.5307 GB, free: 21.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.4201, allocations: 48.72 kB / 0.5307 GB, free: 20.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 4.278e-06/0.4201, allocations: 0 / 0.5307 GB, free: 20.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.00339/0.4235, allocations: 1.327 MB / 0.532 GB, free: 20.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.4236, allocations: 136.4 kB / 0.5321 GB, free: 20.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.4241, allocations: 313.5 kB / 0.5324 GB, free: 19.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.4241, allocations: 36.33 kB / 0.5325 GB, free: 19.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.4243, allocations: 403.4 kB / 0.5328 GB, free: 19.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.4245, allocations: 227.7 kB / 0.5331 GB, free: 19.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.4248, allocations: 147.6 kB / 0.5332 GB, free: 19.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.4249, allocations: 360.4 kB / 0.5335 GB, free: 18.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.4254, allocations: 195.6 kB / 0.5337 GB, free: 18.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005718/0.4259, allocations: 411.6 kB / 0.5341 GB, free: 18.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.427, allocations: 0.6223 MB / 0.5347 GB, free: 18.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.427, allocations: 2.875 kB / 0.5347 GB, free: 18.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001888/0.4289, allocations: 0.8829 MB / 0.5356 GB, free: 17.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.4289, allocations: 9.125 kB / 0.5356 GB, free: 17.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.4289, allocations: 3.062 kB / 0.5356 GB, free: 17.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007799/0.4297, allocations: 228.9 kB / 0.5358 GB, free: 17.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.4304, allocations: 139.7 kB / 0.536 GB, free: 17.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/0.4356, allocations: 6.231 MB / 0.542 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006417/0.4363, allocations: 80.92 kB / 0.5421 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.4364, allocations: 48.03 kB / 0.5422 GB, free: 11.66 MB / 378.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,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 prepare postOptimizeDAE: time 0.0003667/0.4368, allocations: 214 kB / 0.5424 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.437, allocations: 41.34 kB / 0.5424 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.4385, allocations: 0.7002 MB / 0.5431 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.4385, allocations: 7.375 kB / 0.5431 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.4386, allocations: 5.375 kB / 0.5431 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.4386, allocations: 8.234 kB / 0.5431 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002985/0.4416, allocations: 1.569 MB / 0.5447 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.4416, allocations: 3.031 kB / 0.5447 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.4419, allocations: 63.47 kB / 0.5447 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006571/0.4426, allocations: 215.8 kB / 0.5449 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.4427, allocations: 14.61 kB / 0.5449 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004385/0.4471, allocations: 6.237 MB / 0.551 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4471, allocations: 0 / 0.551 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.4493, allocations: 2.38 MB / 0.5533 GB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.702e-05/0.4494, allocations: 136.8 kB / 0.5535 GB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.4494, allocations: 12.38 kB / 0.5535 GB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.4498, allocations: 13.56 kB / 0.5535 GB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.4499, allocations: 56.48 kB / 0.5536 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.45, allocations: 16.41 kB / 0.5536 GB, free: 2.273 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002767/0.4502, allocations: 213.5 kB / 0.5538 GB, free: 2.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4503, allocations: 5.625 kB / 0.5538 GB, free: 2.152 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001667/0.4519, allocations: 293.6 kB / 0.5541 GB, free: 2.082 MB / 378.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.0002701/0.4522, allocations: 135.7 kB / 0.5542 GB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.4537, allocations: 1.075 MB / 0.5552 GB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4537, allocations: 1.25 kB / 0.5552 GB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007292/0.4545, allocations: 0.7834 MB / 0.556 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.4551, allocations: 47.61 kB / 0.5561 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.4577, allocations: 1.933 MB / 0.5579 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.4583, allocations: 0.9296 MB / 0.5588 GB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003043/0.4586, allocations: 66.17 kB / 0.5589 GB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.388e-05/0.4587, allocations: 36 kB / 0.5589 GB, free: 14.54 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4587, allocations: 0 / 0.5589 GB, free: 14.54 MB / 394.7 MB Notification: Performance of Templates: time 0.01508/0.4738, allocations: 6.722 MB / 0.5655 GB, free: 14.03 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches