Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001688/0.001688, allocations: 118.1 kB / 17.84 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002112/0.002112, allocations: 209.8 kB / 18.79 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 230.4 MB / 250 MB, free: 9.102 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 63.84 kB / 367.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2486, allocations: 53.32 MB / 420.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006628/0.2552, allocations: 5.276 MB / 425.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.258, allocations: 1.732 MB / 427.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.2582, allocations: 16 kB / 427.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003065/0.2613, allocations: 1.42 MB / 429.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006265/0.2619, allocations: 321.7 kB / 429.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.2631, allocations: 0.653 MB / 430.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008352/0.264, allocations: 0.8052 MB / 430.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009072/0.2649, allocations: 0.5896 MB / 431.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000402/0.2653, allocations: 346.7 kB / 431.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005274/0.2658, allocations: 466.1 kB / 432.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.501e-05/0.2659, allocations: 76 kB / 432.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004501/0.2664, allocations: 259.8 kB / 432.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.2665, allocations: 175.4 kB / 432.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003712/0.2669, allocations: 437.8 kB / 433.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.2681, allocations: 1.202 MB / 434.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2681, allocations: 3.938 kB / 434.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2681, allocations: 0 / 434.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.2681, allocations: 0 / 434.4 MB, free: 10.54 MB / 350.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.003782/0.2719, allocations: 1.473 MB / 435.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2719, allocations: 8.031 kB / 435.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.2736, allocations: 260.2 kB / 436.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.2738, allocations: 251.3 kB / 436.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/0.2739, allocations: 74.38 kB / 436.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.274, allocations: 100.4 kB / 436.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.2755, allocations: 0.9386 MB / 437.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.2755, allocations: 7.953 kB / 437.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.2756, allocations: 40 kB / 437.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.2756, allocations: 24 kB / 437.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.277, allocations: 0.7847 MB / 438.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/0.2821, allocations: 3.611 MB / 442 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.284, allocations: 1.177 MB / 443.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/0.2846, allocations: 318 kB / 443.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.2847, allocations: 187.2 kB / 443.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.2848, allocations: 39.56 kB / 443.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.184e-06/0.2848, allocations: 0 / 443.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002225/0.287, allocations: 1.304 MB / 445 MB, free: 15.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.2871, allocations: 90.11 kB / 445.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.2875, allocations: 372.3 kB / 445.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.2875, allocations: 37.73 kB / 445.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.2878, allocations: 392.2 kB / 445.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.288, allocations: 317.3 kB / 446.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.2883, allocations: 170.9 kB / 446.3 MB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2884, allocations: 362.7 kB / 446.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.2889, allocations: 266.5 kB / 446.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/0.2895, allocations: 475.4 kB / 447.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.2906, allocations: 0.7745 MB / 448.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2906, allocations: 0 / 448.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001658/0.2923, allocations: 0.9769 MB / 449.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2923, allocations: 8 kB / 449.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.2923, allocations: 11.94 kB / 449.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/0.2927, allocations: 127.5 kB / 449.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007921/0.2935, allocations: 203.7 kB / 449.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00471/0.2982, allocations: 6.119 MB / 455.6 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/0.2987, allocations: 107.2 kB / 455.7 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.396e-05/0.2988, allocations: 40 kB / 455.8 MB, free: 3.812 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.0003072/0.2991, allocations: 233.5 kB / 456 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.2992, allocations: 59.69 kB / 456 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.3008, allocations: 0.8365 MB / 456.9 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.3008, allocations: 12 kB / 456.9 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3008, allocations: 0 / 456.9 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3008, allocations: 11.86 kB / 456.9 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/0.3038, allocations: 2.085 MB / 459 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3038, allocations: 4 kB / 459 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.3044, allocations: 140.1 kB / 459.1 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/0.3047, allocations: 107.3 kB / 459.2 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.3048, allocations: 20 kB / 459.3 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004362/0.3091, allocations: 5.709 MB / 465 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.3091, allocations: 7.938 kB / 465 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.3111, allocations: 1.273 MB / 466.2 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.3112, allocations: 148.6 kB / 466.4 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.3113, allocations: 23.92 kB / 466.4 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.3117, allocations: 20 kB / 466.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3118, allocations: 60.52 kB / 466.5 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/0.3119, allocations: 28 kB / 466.5 MB, free: 8.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003008/0.3122, allocations: 255.2 kB / 466.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3122, allocations: 4 kB / 466.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009502/0.3131, allocations: 267.5 kB / 467 MB, free: 7.691 MB / 382.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.0002782/0.3134, allocations: 151 kB / 467.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.3151, allocations: 1.134 MB / 468.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3151, allocations: 0 / 468.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009144/0.3161, allocations: 0.7697 MB / 469.1 MB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.3166, allocations: 65.36 kB / 469.1 MB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.3192, allocations: 1.42 MB / 470.6 MB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.3198, allocations: 0.9149 MB / 471.5 MB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004418/0.3203, allocations: 105.1 kB / 471.6 MB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.3204, allocations: 51.42 kB / 471.6 MB, free: 2.891 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3204, allocations: 0 / 471.6 MB, free: 2.891 MB / 382.1 MB Notification: Performance of Templates: time 0.0165/0.3369, allocations: 7.41 MB / 479 MB, free: 11.52 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches