Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 113.2 kB / 17.73 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 184.2 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 51.92 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07847/0.0797, allocations: 46.62 MB / 375.1 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.1747/0.2545, allocations: 5.204 MB / 380.4 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00295/0.2575, allocations: 1.723 MB / 382.1 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004091/0.2579, allocations: 16.88 kB / 382.1 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.2609, allocations: 1.426 MB / 383.5 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008967/0.2618, allocations: 316.9 kB / 383.8 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.2633, allocations: 0.7965 MB / 384.6 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008318/0.2641, allocations: 0.8134 MB / 385.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009367/0.2651, allocations: 0.7564 MB / 386.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.2655, allocations: 351.2 kB / 386.5 MB, free: 8.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004633/0.2659, allocations: 474.4 kB / 387 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.2661, allocations: 74.31 kB / 387.1 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005848/0.2666, allocations: 264.7 kB / 387.3 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.2668, allocations: 175.3 kB / 387.5 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.2671, allocations: 422.2 kB / 387.9 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.2685, allocations: 1.188 MB / 389.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2685, allocations: 1.469 kB / 389.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2685, allocations: 0 / 389.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.2685, allocations: 0 / 389.1 MB, free: 6.945 MB / 318.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.004289/0.2728, allocations: 1.442 MB / 390.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2729, allocations: 11.3 kB / 390.6 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.2747, allocations: 255.9 kB / 390.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.275, allocations: 260.8 kB / 391.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.275, allocations: 73.5 kB / 391.1 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.2752, allocations: 97.83 kB / 391.2 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.2768, allocations: 0.9428 MB / 392.2 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/0.2768, allocations: 7.406 kB / 392.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.807e-05/0.2769, allocations: 39.66 kB / 392.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.2769, allocations: 23.59 kB / 392.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.2783, allocations: 0.778 MB / 393 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004999/0.2833, allocations: 3.363 MB / 396.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.2852, allocations: 1.255 MB / 397.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/0.2857, allocations: 378.2 kB / 398 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-05/0.2858, allocations: 100.9 kB / 398.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.2858, allocations: 48.19 kB / 398.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.715e-06/0.2858, allocations: 0 / 398.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=87): time 0.002038/0.2879, allocations: 1.296 MB / 399.4 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.2879, allocations: 87.27 kB / 399.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.2884, allocations: 369.3 kB / 399.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.2884, allocations: 45.7 kB / 399.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.2886, allocations: 377.6 kB / 400.3 MB, free: 280 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.2888, allocations: 304.1 kB / 400.6 MB, free: 36 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.289, allocations: 170.1 kB / 400.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2892, allocations: 356.6 kB / 401.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.2896, allocations: 271.6 kB / 401.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006048/0.2902, allocations: 469.7 kB / 401.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.2914, allocations: 0.7762 MB / 402.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2914, allocations: 5.094 kB / 402.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001695/0.2931, allocations: 0.9772 MB / 403.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.2931, allocations: 8.531 kB / 403.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.2931, allocations: 4.75 kB / 403.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003898/0.2935, allocations: 126.3 kB / 403.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007752/0.2943, allocations: 203.6 kB / 403.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004274/0.2986, allocations: 6.134 MB / 410.1 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007044/0.2993, allocations: 102.1 kB / 410.2 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.2994, allocations: 39.83 kB / 410.2 MB, free: 7.926 MB / 334.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.0003382/0.2997, allocations: 231.7 kB / 410.4 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.2999, allocations: 58.22 kB / 410.5 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.3014, allocations: 0.8427 MB / 411.3 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3014, allocations: 8.312 kB / 411.3 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.3014, allocations: 6.266 kB / 411.3 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.3014, allocations: 9.203 kB / 411.4 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.3043, allocations: 1.928 MB / 413.3 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3043, allocations: 1.969 kB / 413.3 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/0.3049, allocations: 134 kB / 413.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002924/0.3052, allocations: 115.8 kB / 413.5 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.3052, allocations: 19.94 kB / 413.5 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00375/0.309, allocations: 5.7 MB / 419.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.309, allocations: 6.906 kB / 419.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.3108, allocations: 1.272 MB / 420.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.311, allocations: 142.8 kB / 420.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/0.3111, allocations: 22.28 kB / 420.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.3115, allocations: 21.47 kB / 420.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3116, allocations: 63.36 kB / 420.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.3116, allocations: 26.33 kB / 420.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002594/0.3119, allocations: 258.8 kB / 421.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3119, allocations: 0 / 421.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009816/0.3129, allocations: 262.1 kB / 421.3 MB, free: 14.5 MB / 350.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.0002467/0.3131, allocations: 156.4 kB / 421.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.3148, allocations: 1.168 MB / 422.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3148, allocations: 1.375 kB / 422.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008353/0.3157, allocations: 0.7999 MB / 423.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/0.3162, allocations: 65.92 kB / 423.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.3189, allocations: 1.386 MB / 424.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.3195, allocations: 0.9149 MB / 425.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004442/0.3199, allocations: 105.1 kB / 425.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.3201, allocations: 55.42 kB / 426 MB, free: 10.72 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3201, allocations: 0 / 426 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Templates: time 0.01455/0.3346, allocations: 7.232 MB / 433.2 MB, free: 3.488 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches