Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001717/0.001717, allocations: 116.3 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002124/0.002124, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.095/2.095, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4269, allocations: 50.53 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.01181/0.4388, allocations: 5.265 MB / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005292/0.4441, allocations: 1.716 MB / 416.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.4453, allocations: 16 kB / 416.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004881/0.4502, allocations: 1.415 MB / 418.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002158/0.4524, allocations: 313.7 kB / 418.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.4549, allocations: 0.6541 MB / 419.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001998/0.4569, allocations: 0.8052 MB / 420.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003066/0.46, allocations: 0.761 MB / 420.9 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000869/0.4609, allocations: 358.7 kB / 421.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.462, allocations: 458.2 kB / 421.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.4623, allocations: 72 kB / 421.7 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.4635, allocations: 267.8 kB / 422 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.4638, allocations: 179.3 kB / 422.2 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009244/0.4647, allocations: 425.9 kB / 422.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002793/0.4675, allocations: 1.193 MB / 423.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.4676, allocations: 3.938 kB / 423.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.84e-06/0.4676, allocations: 4 kB / 423.8 MB, free: 3.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.776e-05/0.4677, allocations: 4 kB / 423.8 MB, free: 3.641 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00738/0.4751, allocations: 1.451 MB / 425.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.4752, allocations: 12.03 kB / 425.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/0.4781, allocations: 255.7 kB / 425.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005513/0.4787, allocations: 259.2 kB / 425.8 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.4789, allocations: 70.38 kB / 425.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003489/0.4792, allocations: 104.3 kB / 425.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.4821, allocations: 0.9386 MB / 426.9 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.004e-05/0.4822, allocations: 4 kB / 426.9 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.4824, allocations: 40 kB / 426.9 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.4825, allocations: 24 kB / 426.9 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.4848, allocations: 0.7808 MB / 427.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009004/0.4939, allocations: 3.598 MB / 431.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003122/0.497, allocations: 1.252 MB / 432.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008789/0.4979, allocations: 372.3 kB / 432.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/0.4982, allocations: 187.2 kB / 433.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.4983, allocations: 39.56 kB / 433.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 5.34e-06/0.4983, allocations: 0 / 433.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.003604/0.5019, allocations: 1.308 MB / 434.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/0.502, allocations: 90.14 kB / 434.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007255/0.5028, allocations: 360.4 kB / 434.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/0.5029, allocations: 49.62 kB / 435 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.5032, allocations: 382.7 kB / 435.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/0.5036, allocations: 295.7 kB / 435.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/0.504, allocations: 178.8 kB / 435.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.5042, allocations: 358.8 kB / 436.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00075/0.505, allocations: 266.5 kB / 436.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009453/0.506, allocations: 475.4 kB / 436.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/0.5078, allocations: 0.7784 MB / 437.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.5078, allocations: 0 / 437.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002692/0.5105, allocations: 0.9763 MB / 438.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.965e-05/0.5106, allocations: 11.94 kB / 438.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.5106, allocations: 4 kB / 438.6 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/0.5112, allocations: 119.8 kB / 438.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.5124, allocations: 207.7 kB / 439 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006702/0.5191, allocations: 6.111 MB / 445.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.5202, allocations: 102.9 kB / 445.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.5204, allocations: 40 kB / 445.2 MB, free: 12.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005729/0.5209, allocations: 233.5 kB / 445.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.5212, allocations: 55.34 kB / 445.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/0.5236, allocations: 0.8443 MB / 446.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.5236, allocations: 8 kB / 446.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.5236, allocations: 0 / 446.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.5236, allocations: 15.86 kB / 446.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/0.5284, allocations: 2.089 MB / 448.4 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.5284, allocations: 4 kB / 448.4 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.5293, allocations: 131.8 kB / 448.6 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004407/0.5298, allocations: 111.4 kB / 448.7 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.973e-05/0.5299, allocations: 24.03 kB / 448.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00558/0.5355, allocations: 5.704 MB / 454.4 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.5355, allocations: 11.94 kB / 454.4 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.5383, allocations: 1.277 MB / 455.7 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.5386, allocations: 136.5 kB / 455.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.5388, allocations: 27.92 kB / 455.9 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/0.5394, allocations: 20 kB / 455.9 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.5396, allocations: 72.56 kB / 456 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/0.5397, allocations: 20 kB / 456 MB, free: 1.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004526/0.5401, allocations: 259.2 kB / 456.2 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5402, allocations: 0 / 456.2 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001677/0.5418, allocations: 264.4 kB / 456.5 MB, free: 0.7344 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004043/0.5423, allocations: 154.6 kB / 456.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002641/0.5449, allocations: 1.181 MB / 457.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5449, allocations: 0 / 457.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.5463, allocations: 0.7956 MB / 458.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009984/0.5473, allocations: 61.36 kB / 458.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.5514, allocations: 1.439 MB / 460.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/0.5522, allocations: 0.911 MB / 461 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.5526, allocations: 67.42 kB / 461.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5526, allocations: 0 / 461.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of Templates: time 0.03582/0.5884, allocations: 21.14 MB / 482.2 MB, free: 6.789 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches