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.001082/0.001082, allocations: 121.2 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.001246/0.001246, allocations: 204.6 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.00109, allocations: 55.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2363, allocations: 50.53 MB / 409.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006305/0.2426, allocations: 5.257 MB / 414.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002845/0.2455, allocations: 1.724 MB / 416.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004246/0.2459, allocations: 20 kB / 416.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003079/0.249, allocations: 1.411 MB / 417.7 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009621/0.25, allocations: 325.6 kB / 418 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.2514, allocations: 0.6459 MB / 418.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.2524, allocations: 0.8091 MB / 419.4 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.2537, allocations: 0.7649 MB / 420.2 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005274/0.2542, allocations: 350.7 kB / 420.5 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009308/0.2551, allocations: 458.2 kB / 421 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001967/0.2554, allocations: 76 kB / 421.1 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008477/0.2562, allocations: 263.8 kB / 421.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.2564, allocations: 179.4 kB / 421.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000439/0.2569, allocations: 425.9 kB / 421.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.2582, allocations: 1.201 MB / 423.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2582, allocations: 0 / 423.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2583, allocations: 0 / 423.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.843e-05/0.2583, allocations: 0 / 423.1 MB, free: 3.676 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.004271/0.2626, allocations: 1.451 MB / 424.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2626, allocations: 8.031 kB / 424.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.2644, allocations: 255.7 kB / 424.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.2647, allocations: 255.2 kB / 425.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.2648, allocations: 78.31 kB / 425.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.2649, allocations: 108.3 kB / 425.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.2665, allocations: 0.9386 MB / 426.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.2666, allocations: 4 kB / 426.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.921e-05/0.2667, allocations: 40 kB / 426.2 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.2667, allocations: 24 kB / 426.3 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.2681, allocations: 0.777 MB / 427 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005385/0.2735, allocations: 3.61 MB / 430.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.2753, allocations: 1.252 MB / 431.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.2759, allocations: 376.2 kB / 432.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.276, allocations: 179.2 kB / 432.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.2761, allocations: 43.56 kB / 432.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.635e-06/0.2761, allocations: 4 kB / 432.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002062/0.2781, allocations: 1.3 MB / 433.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.2782, allocations: 90.05 kB / 433.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.2786, allocations: 368.4 kB / 434.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.2786, allocations: 37.7 kB / 434.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.2788, allocations: 390.7 kB / 434.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.279, allocations: 295.8 kB / 434.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.2793, allocations: 170.8 kB / 435.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.2795, allocations: 362.8 kB / 435.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.28, allocations: 262.5 kB / 435.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.2806, allocations: 475.4 kB / 436.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.2817, allocations: 0.7745 MB / 437 MB, free: 5.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.2817, allocations: 4 kB / 437 MB, free: 5.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001678/0.2834, allocations: 0.9768 MB / 437.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2834, allocations: 4 kB / 437.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.2834, allocations: 8 kB / 437.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004309/0.2839, allocations: 131.3 kB / 438.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008241/0.2847, allocations: 207.7 kB / 438.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005146/0.2898, allocations: 6.103 MB / 444.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006614/0.2905, allocations: 107 kB / 444.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.2907, allocations: 36 kB / 444.5 MB, free: 12.89 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.0004223/0.2911, allocations: 233.5 kB / 444.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.2912, allocations: 51.34 kB / 444.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.2928, allocations: 0.8442 MB / 445.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.2928, allocations: 15.98 kB / 445.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2928, allocations: 4 kB / 445.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.2929, allocations: 7.922 kB / 445.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.2959, allocations: 2.089 MB / 447.8 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.2959, allocations: 4 kB / 447.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.2965, allocations: 131.8 kB / 447.9 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003054/0.2968, allocations: 111.6 kB / 448 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.2968, allocations: 20 kB / 448 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00373/0.3006, allocations: 5.72 MB / 453.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.3006, allocations: 3.938 kB / 453.7 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.3024, allocations: 1.269 MB / 455 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.3026, allocations: 144.3 kB / 455.2 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/0.3027, allocations: 35.94 kB / 455.2 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.3031, allocations: 16 kB / 455.2 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/0.3032, allocations: 60.52 kB / 455.3 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.3032, allocations: 31.98 kB / 455.3 MB, free: 1.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.3035, allocations: 251.2 kB / 455.5 MB, free: 1.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3035, allocations: 0 / 455.5 MB, free: 1.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009286/0.3044, allocations: 268.4 kB / 455.8 MB, free: 0.7617 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.0002532/0.3047, allocations: 158.5 kB / 456 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.3064, allocations: 1.173 MB / 457.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3065, allocations: 4 kB / 457.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008454/0.3073, allocations: 0.7889 MB / 457.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.3079, allocations: 61.36 kB / 458 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.3103, allocations: 1.407 MB / 459.4 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.3109, allocations: 0.911 MB / 460.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004159/0.3114, allocations: 105.1 kB / 460.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.3115, allocations: 55.44 kB / 460.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3115, allocations: 0 / 460.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of Templates: time 0.01317/0.3247, allocations: 7.272 MB / 467.7 MB, free: 4.668 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/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