Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001314, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4336, allocations: 62.43 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.01105/0.4447, allocations: 5.327 MB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004358/0.4491, allocations: 1.637 MB / 0.5378 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/0.4496, allocations: 23.34 kB / 0.5378 GB, free: 8.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005388/0.4551, allocations: 1.592 MB / 0.5394 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.4568, allocations: 312 kB / 0.5397 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.4589, allocations: 0.5206 MB / 0.5402 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.4604, allocations: 0.8052 MB / 0.541 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.4623, allocations: 0.7353 MB / 0.5417 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007268/0.4631, allocations: 347.2 kB / 0.542 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009051/0.464, allocations: 460 kB / 0.5424 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.4641, allocations: 75.31 kB / 0.5425 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007132/0.4649, allocations: 199.7 kB / 0.5427 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.4651, allocations: 170.8 kB / 0.5429 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005654/0.4657, allocations: 431.2 kB / 0.5433 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.4676, allocations: 1.166 MB / 0.5444 GB, free: 3.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4677, allocations: 4 kB / 0.5444 GB, free: 3.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4677, allocations: 1.062 kB / 0.5444 GB, free: 3.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.4677, allocations: 0 / 0.5444 GB, free: 3.363 MB / 398.1 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.005868/0.4736, allocations: 1.36 MB / 0.5457 GB, free: 2.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.4736, allocations: 10.58 kB / 0.5458 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/0.4769, allocations: 239.6 kB / 0.546 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/0.4774, allocations: 253 kB / 0.5462 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.4775, allocations: 74.38 kB / 0.5463 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.4778, allocations: 111.9 kB / 0.5464 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.4803, allocations: 0.9322 MB / 0.5473 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-05/0.4804, allocations: 3.984 kB / 0.5473 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.4805, allocations: 40 kB / 0.5474 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.4806, allocations: 28 kB / 0.5474 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.4827, allocations: 0.7213 MB / 0.5481 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007067/0.4898, allocations: 4.071 MB / 0.5521 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003184/0.493, allocations: 3.37 MB / 0.5554 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/0.4934, allocations: 294.1 kB / 0.5556 GB, free: 7.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.4936, allocations: 178.5 kB / 0.5558 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.4937, allocations: 46.88 kB / 0.5559 GB, free: 7.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 1.833e-06/0.4937, allocations: 3.938 kB / 0.5559 GB, free: 7.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002932/0.4966, allocations: 1.325 MB / 0.5572 GB, free: 5.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.4967, allocations: 144.6 kB / 0.5573 GB, free: 5.441 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.4972, allocations: 310.8 kB / 0.5576 GB, free: 5.129 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.4972, allocations: 37.7 kB / 0.5576 GB, free: 5.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.4975, allocations: 394.4 kB / 0.558 GB, free: 4.691 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.4976, allocations: 228.7 kB / 0.5582 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.4978, allocations: 146.6 kB / 0.5584 GB, free: 4.316 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.498, allocations: 350.8 kB / 0.5587 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.4983, allocations: 201.9 kB / 0.5589 GB, free: 3.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.4988, allocations: 400.5 kB / 0.5593 GB, free: 3.301 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000816/0.4996, allocations: 0.6258 MB / 0.5599 GB, free: 2.594 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.4996, allocations: 4 kB / 0.5599 GB, free: 2.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001519/0.5011, allocations: 0.8774 MB / 0.5607 GB, free: 1.695 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.5012, allocations: 8 kB / 0.5607 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.5012, allocations: 8 kB / 0.5608 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006453/0.5018, allocations: 223.5 kB / 0.561 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.5023, allocations: 147.8 kB / 0.5611 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005572/0.5079, allocations: 6.702 MB / 0.5676 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.5084, allocations: 83.03 kB / 0.5677 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.5085, allocations: 39.98 kB / 0.5678 GB, free: 9.918 MB / 430.1 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.000329/0.5088, allocations: 229.5 kB / 0.568 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.509, allocations: 39.53 kB / 0.568 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.5101, allocations: 0.687 MB / 0.5687 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5102, allocations: 8 kB / 0.5687 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5102, allocations: 4 kB / 0.5687 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.5102, allocations: 3.984 kB / 0.5687 GB, free: 8.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.5124, allocations: 1.574 MB / 0.5702 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5124, allocations: 4 kB / 0.5703 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.5127, allocations: 67.91 kB / 0.5703 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004965/0.5132, allocations: 223.5 kB / 0.5705 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.5132, allocations: 12 kB / 0.5705 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005283/0.5185, allocations: 6.689 MB / 0.5771 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5185, allocations: 0 / 0.5771 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.52, allocations: 1.195 MB / 0.5782 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.5202, allocations: 128.5 kB / 0.5784 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.5202, allocations: 12 kB / 0.5784 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.5206, allocations: 12 kB / 0.5784 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.5207, allocations: 63.73 kB / 0.5784 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.5207, allocations: 16 kB / 0.5785 GB, free: 14.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002386/0.521, allocations: 218 kB / 0.5787 GB, free: 14.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.521, allocations: 0 / 0.5787 GB, free: 14.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001043/0.522, allocations: 287.1 kB / 0.5789 GB, free: 13.75 MB / 446.1 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.0002472/0.5223, allocations: 131.2 kB / 0.5791 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.5238, allocations: 1.075 MB / 0.5801 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5238, allocations: 4 kB / 0.5801 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007968/0.5246, allocations: 0.7726 MB / 0.5809 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007181/0.5254, allocations: 47.92 kB / 0.5809 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.5273, allocations: 1.233 MB / 0.5821 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.5278, allocations: 0.9072 MB / 0.583 GB, free: 9.398 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.5281, allocations: 64.55 kB / 0.5831 GB, free: 9.336 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.5282, allocations: 31.44 kB / 0.5831 GB, free: 9.309 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.5282, allocations: 0 / 0.5831 GB, free: 9.309 MB / 446.1 MB Notification: Performance of Templates: time 0.0121/0.5403, allocations: 7.032 MB / 0.59 GB, free: 2.301 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches