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.001176/0.001176, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.001259/0.001259, allocations: 183.1 kB / 18.66 MB, free: 4.441 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.487/1.487, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001242/0.001242, allocations: 55.91 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.09039, allocations: 46.61 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.1702/0.2606, allocations: 5.206 MB / 380.4 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.2636, allocations: 1.721 MB / 382.1 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002922/0.264, allocations: 17.12 kB / 382.1 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003004/0.267, allocations: 1.421 MB / 383.5 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008005/0.2678, allocations: 322.4 kB / 383.8 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.2694, allocations: 0.7954 MB / 384.6 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009567/0.2704, allocations: 0.8146 MB / 385.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.2714, allocations: 0.7562 MB / 386.2 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.2718, allocations: 355.1 kB / 386.5 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004994/0.2723, allocations: 474.8 kB / 387 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.2724, allocations: 74.28 kB / 387.1 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000587/0.273, allocations: 260.3 kB / 387.3 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.2731, allocations: 175.1 kB / 387.5 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.2735, allocations: 425.6 kB / 387.9 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.2747, allocations: 1.189 MB / 389.1 MB, free: 7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2747, allocations: 0.5625 kB / 389.1 MB, free: 7 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2747, allocations: 0 / 389.1 MB, free: 7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.2747, allocations: 0 / 389.1 MB, free: 7 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.003678/0.2784, allocations: 1.444 MB / 390.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2785, allocations: 8.594 kB / 390.6 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.2801, allocations: 259.2 kB / 390.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.2803, allocations: 264.2 kB / 391.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/0.2804, allocations: 69.94 kB / 391.1 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.2805, allocations: 104.7 kB / 391.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.282, allocations: 0.9348 MB / 392.2 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.282, allocations: 10.31 kB / 392.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/0.2821, allocations: 40.75 kB / 392.2 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.2821, allocations: 22.62 kB / 392.2 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.2835, allocations: 0.7783 MB / 393 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004847/0.2883, allocations: 3.359 MB / 396.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.2901, allocations: 1.264 MB / 397.6 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004937/0.2906, allocations: 372.8 kB / 398 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.962e-05/0.2907, allocations: 96.7 kB / 398.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2907, allocations: 52.89 kB / 398.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.796e-06/0.2907, allocations: 0 / 398.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=87): time 0.002083/0.2928, allocations: 1.299 MB / 399.5 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.2929, allocations: 88.39 kB / 399.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005099/0.2934, allocations: 368.5 kB / 399.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.2935, allocations: 40.48 kB / 399.9 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.2937, allocations: 378.3 kB / 400.3 MB, free: 332 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.2939, allocations: 302.8 kB / 400.6 MB, free: 88 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.2943, allocations: 171.7 kB / 400.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.2945, allocations: 357.7 kB / 401.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.295, allocations: 266.6 kB / 401.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000671/0.2957, allocations: 474.2 kB / 401.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.2969, allocations: 0.7768 MB / 402.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.2969, allocations: 1.438 kB / 402.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00168/0.2986, allocations: 0.9732 MB / 403.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.2986, allocations: 6.969 kB / 403.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.2986, allocations: 5.656 kB / 403.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004452/0.2991, allocations: 129.2 kB / 403.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008483/0.2999, allocations: 203.4 kB / 403.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004435/0.3044, allocations: 6.13 MB / 410.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007241/0.3051, allocations: 101.2 kB / 410.2 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/0.3052, allocations: 39.16 kB / 410.2 MB, free: 7.984 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.0003762/0.3056, allocations: 232.5 kB / 410.4 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.3057, allocations: 58 kB / 410.5 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.3072, allocations: 0.8446 MB / 411.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.3073, allocations: 8.188 kB / 411.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3073, allocations: 6.312 kB / 411.3 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.3073, allocations: 9.172 kB / 411.4 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.31, allocations: 1.923 MB / 413.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.3101, allocations: 7.516 kB / 413.3 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005702/0.3106, allocations: 145.3 kB / 413.4 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/0.3109, allocations: 108.5 kB / 413.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.311, allocations: 18.91 kB / 413.5 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003484/0.3145, allocations: 5.695 MB / 419.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.3145, allocations: 10.91 kB / 419.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.3161, allocations: 1.277 MB / 420.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.3162, allocations: 143.3 kB / 420.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.391e-05/0.3163, allocations: 21.5 kB / 420.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.3167, allocations: 21.31 kB / 420.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3168, allocations: 62.58 kB / 420.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.3169, allocations: 22.72 kB / 420.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002565/0.3171, allocations: 261.7 kB / 421.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3171, allocations: 0 / 421.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009144/0.318, allocations: 260.1 kB / 421.3 MB, free: 14.55 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.0002553/0.3183, allocations: 156.1 kB / 421.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.3198, allocations: 1.172 MB / 422.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3198, allocations: 1.281 kB / 422.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008059/0.3207, allocations: 0.7999 MB / 423.4 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.3212, allocations: 57.5 kB / 423.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.3235, allocations: 1.407 MB / 424.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.3239, allocations: 0.9071 MB / 425.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004062/0.3243, allocations: 113.1 kB / 425.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.3245, allocations: 43.44 kB / 426 MB, free: 10.76 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3245, allocations: 4 kB / 426 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01234/0.3368, allocations: 7.223 MB / 433.2 MB, free: 3.527 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